www.Chart4.NET (Documentation) |
Samples Download | Release Notes
Whether the page request is for the hierarchy chart or not. See Remarks.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
public bool hmIsOnRender()
public bool hmIsOnRender()
Public Function hmIsOnRender As Boolean
Public Function hmIsOnRender As Boolean
public:
bool hmIsOnRender()
public:
bool hmIsOnRender()
member hmIsOnRender : unit -> bool
member hmIsOnRender : unit -> bool
public boolean hmIsOnRender()
Return Value
System.Boolean
Use this function to skip the page processing, when page request is for chart.
protected void Page_Load( object sender, EventArgs e )
{
if (HierarchyWeb1.hmIsOnRender( ))
{
goto L_EXIT;
}
if (IsPostBack)
{
goto L_EXIT;
}
L_EXIT:
return;
}
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;
}