ESRI.ArcGIS.ADF.Web.UI.WebControls
ContextMenuItem Constructor(String,String,String)
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ContextMenuItem Class > ContextMenuItem Constructor : ContextMenuItem Constructor(String,String,String)




imageUrl
URL of an image to display on the menu item.
text
Text to display on the menu item.
javascript
Custom JavaScript to run when the user clicks the menu item.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal imageUrl As String, _
   ByVal text As String, _
   ByVal javascript As String _
)
Visual Basic (Usage)Copy Code
Dim imageUrl As String
Dim text As String
Dim javascript As String
 
Dim instance As ContextMenuItem(imageUrl, text, javascript)
C# 
public ContextMenuItem( 
   string imageUrl,
   string text,
   string javascript
)

Parameters

imageUrl
URL of an image to display on the menu item.
text
Text to display on the menu item.
javascript
Custom JavaScript to run when the user clicks the menu item.

See Also

© 2010 All Rights Reserved.