ESRI.ArcGIS.ADF.Web.UI.WebControls
EventArg Property
See Also  Send Feedback
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;}

Property 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.

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.