www.Chart4.NET | Samples

Whether the page request is for the hierarchy chart or not. See Remarks.

Namespace:  UnifoChart.Hierarchy
Assembly:  UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)

Syntax

C#
public bool hmIsOnRender()
Visual Basic (Declaration)
Public Function hmIsOnRender As Boolean
Visual Basic (Usage)
Dim instance As HierarchyWeb
Dim returnValue As Boolean

returnValue = instance.hmIsOnRender()
Visual C++
public:
bool hmIsOnRender()
J#
public boolean hmIsOnRender()
JScript
public function hmIsOnRender() : boolean
JavaScript
function hmIsOnRender();

Return Value

System.Boolean

Remarks

Use this function to skip the page processing, when page request is for chart.

CopyC#
protected void Page_Load( object sender, EventArgs e )
{            
    if (HierarchyWeb1.hmIsOnRender( ))//chart request
    {
        goto L_EXIT;
    }

    if (IsPostBack)
    {
        //TODO-1
        goto L_EXIT;
    }

    //TODO-2

L_EXIT:
    return;
}

See Also