ScriptManager.LoadPostData Method (String, NameValueCollection)

 
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.

Reads form data that is posted from the browser to the server, and determines the source of the asynchronous postback.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected virtual bool LoadPostData(
	string postDataKey,
	NameValueCollection postCollection
)

Parameters

postDataKey
Type: System.String

The key identifier for the control.

postCollection
Type: System.Collections.Specialized.NameValueCollection

The collection of all the incoming post data.

Return Value

Type: System.Boolean

true if the ScriptManager control's state has changed as a result of a postback; otherwise, false.

The LoadPostData method is primarily used by control developers to extend the functionality of the ScriptManager control.

.NET Framework
Available since 3.5
Return to top
Show: