HtmlTextArea.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.

Processes the postback data for the HtmlTextArea control.

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

abstract LoadPostData : 
        postDataKey:string *
        postCollection:NameValueCollection -> bool
override LoadPostData : 
        postDataKey:string *
        postCollection:NameValueCollection -> bool

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 HtmlTextArea control's state has changed as a result of the postback; otherwise, false.

The LoadPostData method checks whether the postback value of the HtmlTextArea control is different from its previous value, and if so, returns true.

The LoadPostData method is used primarily by control developers extending the functionality of the HtmlTextArea control.

.NET Framework
Available since 2.0
Return to top
Show: