Friday, February 08, 2008 11:18 AM Joe Levi

How to maintain the position of the scrollbar on postbacks with ASP.NET 2.0

In ASP.NET 1.1 it was a pain to maintain the position of the scrollbar when doing a postback operation.

In ASP.NET 2.0 it's not so hard... To see how I fixed this see my article on JoeTheWebGuy.net.

Filed under: ,

Comments

# re: How to maintain the position of the scrollbar on postbacks with ASP.NET 2.0

Friday, February 08, 2008 2:46 PM by schnieds

Thanks for the tip Joe, I never realized that nice little property was available.

-Aaron

# re: How to maintain the position of the scrollbar on postbacks with ASP.NET 2.0

Tuesday, February 12, 2008 4:15 PM by PT

More fun would be to find a property which would make browser keep scrollbar positions of listboxes after postback :)

# re: How to maintain the position of the scrollbar on postbacks with ASP.NET 2.0

Thursday, October 22, 2009 11:22 AM by Crazy38

Amount of expected change is   part of the indicator. ,

# re: How to maintain the position of the scrollbar on postbacks with ASP.NET 2.0

Monday, November 16, 2009 10:21 AM by Owen

Hey Joe,

Those this also apply to a textbox?

Leave a Comment

(required) 
(required) 
(optional)
(required)