crickpaolo
asked on
How do I scroll to the top of an ASP.NET page after postback?
Hi Experts,
I use this on top of my ASP.NET page to maintain the scroll position after postback.
<%@ Page Language="VB" MaintainScrollPositionOnPo stback="tr ue" %>
This comes in handy because I have a long form, with Listboxes that do Autopostabacks. When I click the Submit button though, I want to page to scroll back to the top of the page, because any error messages are displayed on the top of the page.
How can I accomplish this?
I use this on top of my ASP.NET page to maintain the scroll position after postback.
<%@ Page Language="VB" MaintainScrollPositionOnPo
This comes in handy because I have a long form, with Listboxes that do Autopostabacks. When I click the Submit button though, I want to page to scroll back to the top of the page, because any error messages are displayed on the top of the page.
How can I accomplish this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER