welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Friday, February 17, 2012

Maintain Scrollposition onpostback in

Here you ll see about how to maintain the scroll position during postback in


Normally when doing any click event (postback occur)  then scroll position was moving to top of the page.
For some instance we need to maintain the position at the same place. Regarding this issues i wrote some article in previous post.

But in this case we need to add attribute in the page directives. Its presence in the top of the page in client side.....
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" MaintainScrollPositionOnPostback ="true" Inherits="test" %>

Now on every postback the scroll position has been maintained in the same position.

I hope  this articles helps u..


Post a Comment