Saturday, November 22, 2008

Retain Scroll / Page Position After postback c# asp.net

  Programmatically

Page.MaintainScrollPositionOnPostBack = true;
 page declaration

<%@ Page MaintainScrollPositionOnPostback="true" %>
Or  web.configs <system.web> section.

<pages maintainScrollPositionOnPostBack="true" />

No comments: