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)

    DefaultValue = false)>]
member MaintainScrollPositionOnPostBack : bool with get, set

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