adsense

Wednesday, August 27, 2014

ASP.Net keep Scroll Position On every Postback or Refresh

When a page is posted to the server the scroll position of the page resets, and  this causes the user  to scroll back to the part where the user was working on. ASP.NET 2 has introduced a property called MaintainScrollPositionOnPostback that will tackle this problem for you most of the times.

The issue get rather tricky when we place UpdatePanels in the page and scroll bars resets on each request. I have seen lot of users having difficulties resolving this issue and recently came across the following post that will provide you the desired workaround.

 Read more 
 http://en.hasheminezhad.com/scrollsaver

Regards
Samitha

No comments:

Post a Comment