Version

OnLoadPostStateItem Method (SmartWebControl)

Notification furnished to subclasses to set properties on appropriate objects for values posted back from the client.
Syntax
'Declaration
 
Protected Overridable Sub OnLoadPostStateItem( _
   ByVal xmlNode As XmlNode, _
   ByVal eventList As ArrayList _
) 
protected virtual void OnLoadPostStateItem( 
   XmlNode xmlNode,
   ArrayList eventList
)

Parameters

xmlNode
The XmlNode containing attribute/value pairs to be applied to server-side objects.
eventList
An ArrayList of objects, usually Pair or Triplet, that is used to track which objects need to have events fired in phase 2 of LoadPostData.
Remarks

The base class implementation of OnLoadPostControlState calls this method once per child element of the <StateItems> node in XML data received from the client during a post back.

Inheritors maintaining this structure of control state are encouraged to override this method in order to read changes in sub-property values to client-side objects having analogous server-side correspondents.

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