TextBox.LoadPostData Method
Assembly: System.Web.Mobile (in system.web.mobile.dll)
protected boolean LoadPostData ( String key, NameValueCollection data )
protected function LoadPostData ( key : String, data : NameValueCollection ) : boolean
Parameters
- key
The key of the value in the data collection to be used for this control.
- data
The collection of name/value pairs posted to the server.
Return Value
true if the TextBox control's state has changed as a result of the postback; otherwise, false.The LoadPostData method first attempts to call the IControlAdapter.LoadPostData method on the IcontrolAdapter object referenced by Adapter. If the adapter has no device-specific implementation for loading the post data into the control, that call returns false and the TextBox.LoadPostData method then tests the value of the object referenced by the data parameter at the specified key against Text. If the values are not equal, the new value is set. If either attempt to load the posted data, whether through the adapter or directly, results in the data being changed, a RaisePostDataChangedEvent will occur.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.