Sunday, February 20, 2011

Update panel scroll problem solved

I have an updatepanel control in the middle of a page, and i have a link at the top of the same page. I refresh the updatepanel by clicking the link ;however, i want the updatepanel to scroll into view as well. My javascript scrollintoview method didnt work because updatepanel tries to keep the last position of the page after it is refreshed. So i searched google and found this script and added it to my page. It worked.

No comments:

Post a Comment