Dundas Chart for ASP.NET
GetCallbackEventReference(String,String,Boolean,Boolean) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartCallbackManager Class > GetCallbackEventReference Method : GetCallbackEventReference(String,String,Boolean,Boolean) Method


command
The string value of the command.
The control which handles the arguments
arguments
The string value of the arguments.
String which is passed to the targetControl
showCursorWait
A boolean value representing whether to show the wait cursor or not.
if set to true then cursor wait is shown. Also the call will be asynchronous.
passEvent
A boolean value representing whether to pass the document event to the function.
if set to true then document event is passed as parameter and bubbling will be canceled. It is useful for element events - onlick, onmousedown, etc.
Obtains a reference to a client-side function that, when invoked, initiates a client call back to a server-side event that is handled by the Chart.  Optionally, you can set whether to view wait cursor or pass the document event.
Obtains a reference to a client-side function that, when invoked, initiates a client call back to a server-side event which is handled by the Chart.

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetCallbackEventReference( _
   ByVal command As String, _
   ByVal arguments As String, _
   ByVal showCursorWait As Boolean, _
   ByVal passEvent As Boolean _
) As String
Visual Basic (Usage) Copy Code
Dim instance As ChartCallbackManager
Dim command As String
Dim arguments As String
Dim showCursorWait As Boolean
Dim passEvent As Boolean
Dim value As String
 
value = instance.GetCallbackEventReference(command, arguments, showCursorWait, passEvent)
C#  
public string GetCallbackEventReference( 
   string command,
   string arguments,
   bool showCursorWait,
   bool passEvent
)

Parameters

command
The string value of the command.
The control which handles the arguments
arguments
The string value of the arguments.
String which is passed to the targetControl
showCursorWait
A boolean value representing whether to show the wait cursor or not.
if set to true then cursor wait is shown. Also the call will be asynchronous.
passEvent
A boolean value representing whether to pass the document event to the function.
if set to true then document event is passed as parameter and bubbling will be canceled. It is useful for element events - onlick, onmousedown, etc.

Return Value

String which represents javascript function.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.