ESRI.ArcGIS.ADF.Web.UI.WebControls
StateManager Constructor(WebControl,StateBag)
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > StateManager Class > StateManager Constructor : StateManager Constructor(WebControl,StateBag)




control
The control using this StateManager.
viewState
ViewState for the control.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal control As WebControl, _
   ByVal viewState As StateBag _
)
Visual Basic (Usage)Copy Code
Dim control As WebControl
Dim viewState As StateBag
 
Dim instance As StateManager(control, viewState)
C# 
public StateManager( 
   WebControl control,
   StateBag viewState
)

Parameters

control
The control using this StateManager.
viewState
ViewState for the control.

See Also

© 2010 All Rights Reserved.