PagesSection.MaintainScrollPositionOnPostBack Property

 

Gets or sets a value indicating whether the page scroll position should be maintained upon returning from a postback from the server.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("maintainScrollPositionOnPostBack",
	DefaultValue := False)>
Public Property MaintainScrollPositionOnPostBack As Boolean

Property Value

Type: System.Boolean

true if the page-scroll position should be maintained after postback; otherwise, false. The default value is false.

.NET Framework
Available since 2.0
Return to top
Show: