Click here to Skip to main content
15,908,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a lengthy asp.net page and dropdownlists at the lower end of the page. when the 'SelectedIndexChanged' event of the dropdown occurs, the page refreshes and moves to the top of the page so i have to scroll down to view the result. so i need point to the dropdownlist portion after page get refreshed. Kindly let me know how this to be done.
Posted

If you are not comfortable doing what CG has suggested, then try MaintainScrollPosition page attribute.

Also, you can keep track of the scroll position on client side before the onchange event fires. Restore the scroll position back to what you stored last time after the page refresh.
 
Share this answer
 
You can put markers in your HTML and then your URL can point to one. That's basic HTML, perhaps you need a book ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900