![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
CallbackResult Constructor(Control,String,Object[]) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResult Class > CallbackResult Constructor : CallbackResult Constructor(Control,String,Object[]) |
- control
- Web control whose content or image source to replace. Set to null (Nothing) if returning JavaScript in the callback result.
- eventArg
- Type of information being sent in the parameters. One of: content, innercontent, image, or javascript.
- parameters
- Value of the content, image source, or javascript to send to browser.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal control As Control, _ ByVal eventArg As String, _ ByVal ParamArray parameters() As Object _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim control As Control Dim eventArg As String Dim parameters() As Object Dim instance As New CallbackResult(control, eventArg, parameters) |
Parameters
- control
- Web control whose content or image source to replace. Set to null (Nothing) if returning JavaScript in the callback result.
- eventArg
- Type of information being sent in the parameters. One of: content, innercontent, image, or javascript.
- parameters
- Value of the content, image source, or javascript to send to browser.
If the page element that will receive the content of the CallbackResult is a Web control (i.e., extends System.Web.UI.WebControl), this constructor may be used. However, if you need to target other types of content on the page, such as a plain HTML element (<div>, <span>, <table>, etc.), then use the constructor that accepts an ID and type.
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