ESRI.ArcGIS.ADF.Web.UI.WebControls
Add(Control,String,Object[]) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResultCollection Class > Add Method : Add(Control,String,Object[]) Method




control
Control that will be the target of the HTML content or image source. Can be null (Nothing) if eventArg is javascript.
eventArg
Type of CallbackResult to create: content, innercontent, javascript or image.
parameters
Message for the callback: HTML content, javascript command, or image src.
Adds a CallbackResult to the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Add( _
   ByVal control As Control, _
   ByVal eventArg As String, _
   ByVal ParamArray parameters() As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As CallbackResultCollection
Dim control As Control
Dim eventArg As String
Dim parameters() As Object
 
instance.Add(control, eventArg, parameters)
C# 
public void Add( 
   Control control,
   string eventArg,
   params object[] parameters
)

Parameters

control
Control that will be the target of the HTML content or image source. Can be null (Nothing) if eventArg is javascript.
eventArg
Type of CallbackResult to create: content, innercontent, javascript or image.
parameters
Message for the callback: HTML content, javascript command, or image src.

Remarks

This method enables adding a new CallbackResult to the callback results collection by passing in the information required to create the CallbackResult. See the CallbackResult class for more discussion on using callback results

See Also

© 2010 All Rights Reserved.