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)

public:
[ConfigurationPropertyAttribute("maintainScrollPositionOnPostBack", 
	DefaultValue = false)]
property bool MaintainScrollPositionOnPostBack {
	bool get();
	void set(bool value);
}

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: