HtmlSelect.IPostBackDataHandler.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.

For a description of this member, see IPostBackDataHandler.LoadPostData.

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

bool IPostBackDataHandler.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 incoming name values.

Return Value

Type: System.Boolean

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

Exception Condition
ArgumentOutOfRangeException

The SelectedIndex property was set to a value greater than the number of items in the HtmlSelect control or less than -1.

This member is an explicit interface member implementation. It can be used only when the HtmlSelect instance is cast to an IPostBackDataHandler interface.

.NET Framework
Available since 1.1
Return to top
Show: