Search
DiagramView.AppletElement Property
See Also
 





Returns a JavaScript statement that returns a reference to the NetDiagram applet.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public string AppletElement { get; }

Visual Basic  Copy Code

Public ReadOnly Property AppletElement As String

 Property Value

A string of the form GetElementById(FlowChart.ClientId) that returns the applet object when executed in JavaScript.

 Remarks

This property is useful when ClientSideMode is set to Canvas. Use it to access from JavaScript the Canvas object associated with a server side DiagramView instance.

 Example

var canvas = <%= fc.AppletElement %>;

 See Also