Anchor control in asp.net

S

sridev

Hai all,

I am working in ASP.NET.
I my page I am having two user controls as usercontrol1, usercontrol2
In usercontrol1, i am having two anchor control and i will load the
text for anchor control dynamically.
In usercontrol2, i am having decription for the anchors in
usercontrol1.
My question is
How can i move to the corresponding description
location(usercontrol2) on clicking the anchor control on usercontrol1
??

I know how to do this in HTML but i want to do this is ASP.NET

Please help me.... its urgent,
Looking for ur response,
Thanx in advance
 
T

Terry Burns

The client must perform the jump. You need to change the location object in
javascript. You can do this from ASP.NET with response.write or a more
controled way is to load a value into a hidden field and have function
execute on the onLoad function of Body, if a value exists, then jump to it.


<body onLoad="jumpCheck() >

function jumpCheck()
{

//Jump code

}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top