ESRI.ArcGIS.ADF.Web.UI.WebControls
ClientSideServerAction Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools Namespace > IClientSidePostBackServerAction Interface : ClientSideServerAction Method




toolbarItemName
Name of the toolitem or toolbar item that caused the post back.
controlHandlingPostBack
The control handling the post back. InitializeClientPostBack would have been called on the control before being passed in.
associatedControls
Controls associated with the control handling the post back. InitializeClientPostBack would have been called on these controls before being passed in.
parameters
The parameters for this request.
Handles the entire post back.

Syntax

Visual Basic (Declaration) 
Sub ClientSideServerAction( _
   ByVal toolbarItemName As String, _
   ByRef controlHandlingPostBack As WebControl, _
   ByRef associatedControls As WebControl(), _
   ByVal parameters As NameValueCollection _
) 
Visual Basic (Usage)Copy Code
Dim instance As IClientSidePostBackServerAction
Dim toolbarItemName As String
Dim controlHandlingPostBack As WebControl
Dim associatedControls As WebControl()
Dim parameters As NameValueCollection
 
instance.ClientSideServerAction(toolbarItemName, controlHandlingPostBack, associatedControls, parameters)
C# 
void ClientSideServerAction( 
   string toolbarItemName,
   ref WebControl controlHandlingPostBack,
   ref WebControl[] associatedControls,
   NameValueCollection parameters
)

Parameters

toolbarItemName
Name of the toolitem or toolbar item that caused the post back.
controlHandlingPostBack
The control handling the post back. InitializeClientPostBack would have been called on the control before being passed in.
associatedControls
Controls associated with the control handling the post back. InitializeClientPostBack would have been called on these controls before being passed in.
parameters
The parameters for this request.

Remarks

Changes can be made to controlHandlingPostBack and associatedControls. After this method is called, RenderForClientPostBack and UnloadClientPostBack will be called on these controls. The ServerAction method will not be called by the framework. It method will have to be called by the ClientSideServerAction method if necessary.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.