Coding Tip 3 – To scroll or not to scroll

Tip 3 – Automatically scroll position between postbacks
I don’t know about you, but I get very upset when I do a postback and my scroll position is lost. Thankfully .NET 2.0 now offers a way to resolve this problem on all moderns browsers.
<% Page MaintainPostBackPosition=true %>
So scroll and postback away!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.