Version

OnLoadPostData Method

Receives notification when data has been posted back to a web form.
Syntax
'Declaration
 
Protected Overridable Function OnLoadPostData( _
   ByVal postDataKey As String, _
   ByVal values As NameValueCollection _
) As Boolean
protected virtual bool OnLoadPostData( 
   string postDataKey,
   NameValueCollection values
)

Parameters

postDataKey
A key identifying this target element.
values
A set of values that the implementation of LoadPostData can dereference with postDataKey to access it's posted back data.

Return Value

True if the posted back data has caused state changes within the element; otherwise False (for example, when the values contain no posted back data pertaining to the element identified by postDataKey).
Remarks

The base class implementation of OnLoadPostData parses the XML content within posted back data.

Inheritors may override the base class implementation of OnLoadPostData to obtain access to posted back information pertaining to their SmartWebControl subclass. However, the first statement in the overridden method implementation should be to call the base class' implementation of OnLoadPostData.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also