|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Postback and return viewI have a several buttons that when clicked makes a postback and executes some code. My page has a lot of data on it so the user will work their way down the page having to use the scroll bar to view it all. But when a post back happens the screen returns to the top. This can get very annoying when they make a simple change to the lower half of the screen and immedietly have to scroll down to see the changes everytime. Anybody know how I can make the page return to the same position on the page as before the postback was fired? a BIG thanks in advance for the help, Jeremy Reid http://hgtit.com UPDATE -
I found the answer online. There is a free .dll that this guy made to capture the scroll position through client side javascript and then return to that exact position on postback. I tested it out and it works perfectly. http://aspalliance.com/356 Jeremy Reid http://hgtit.com Or, you could just set "smartNavigation = true" on the page.
Show quoteHide quote "blackstaronline.net" <jr***@blackstaronline.net> wrote in message news:1141677931.063003.225000@u72g2000cwu.googlegroups.com... > UPDATE - > > I found the answer online. There is a free .dll that this guy made to > capture the scroll position through client side javascript and then > return to that exact position on postback. I tested it out and it works > perfectly. > > http://aspalliance.com/356 > > > Jeremy Reid > http://hgtit.com >
GridView TemplateColumn
Retrieving Values from Hidden Fileds Inside Web Controls on PostBa GridView Datalist question... Intercepting the GridView Panel Controls Which row in GridView_RowCommand?? WebParts drag/drop problems PREVENT an ASP.Net page from posting back when the ENTER key press Reaching elements within <asp:formview> control |
|||||||||||||||||||||||