cstcfu
asked on
ASP.net, Goto special component instead of top of the webpage
I would like to ask after jump to a webpage, a would like to jump to a special component (say a textbox at the middle of the page) instead of the top of the webpage, how to do so?
Traditionally, we can use <a name> as an anchor and goto that part while link to it, however, in ASP.net, we can set the location of the components and can't use this method to specify the location we want to goto.
Thanks!
Traditionally, we can use <a name> as an anchor and goto that part while link to it, however, in ASP.net, we can set the location of the components and can't use this method to specify the location we want to goto.
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by Ized
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
TheLearnedOne
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by Ized
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
TheLearnedOne
EE Cleanup Volunteer
also you can se the focus of the component by adding a similar javascript code to your page
response.write("<script language=JavaScript>" & VBCRLF & "document.FormName.ObjectN
don't forget that javascript is case sensetive