PagesSection.MaintainScrollPositionOnPostBack Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 bool MaintainScrollPositionOnPostBack { 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
Show: