Forum Moderators: open

Message Too Old, No Replies

Position of Browser window

         

andrewsmd

2:37 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to set where the browser window is in VB. What I have is a long form with a submit button and a label at the end. When the user clicks submit it displays text in a label right below the button. I want the browser to scroll all the way to the bottom of the page so the user sees that text. Is there a way to do this in VB? Thanks

marcel

3:04 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Four Guys from Rolla wrote a great article on Client-Side Enhancements in ASP.NET 2.0 [aspnet.4guysfromrolla.com]

The section you may be interested in is titled 'Maintaining Scroll Position on Postback'

andrewsmd

7:25 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just used label.focus() thanks.