ESRI.ArcGIS.ADF.Web.UI.WebControls
EventArg Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResult Class : EventArg Property




The type of content being sent to the browser: one of "content", "innercontent", "javascript", or "image".

Syntax

Visual Basic (Declaration) 
Public Property EventArg As String
Visual Basic (Usage)Copy Code
Dim instance As CallbackResult
Dim value As String
 
instance.EventArg = value
 
value = instance.EventArg
C# 
public string EventArg {get; set;}

Return Value

Content type in the CallbackResult.

Remarks

EventArg specifies the type of content contained in the Parameters property of the CallbackResult. It can be one of four values:

  • "content": the Parameters property contains HTML content to replace the existing content of an element on the page (identified by the control or control ID in the constructor, or ControlClientID property); uses the outerHTML property of the element to set the content.
  • "innercontent": same as "content", except sets the innerHTML of the page element.
  • "javascript": Parameters contains JavaScript to execute on the client. This content may contain a series of statements, either separated by semicolons (;) as with standard JavaScript syntax. Parameters may also contain an array of objects, each with a JavaScript statement.
  • "image": the src attribute of the element identified in ControlClientID will be replaced with the value in Parameters.

See Also

© 2010 All Rights Reserved.