Dundas Chart for ASP.NET
DisableUpdate Method
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartCallbackManager Class : DisableUpdate Method


disable
If set to true, the chart will be not rendered.
if set to true chart will be not rendered.
Disables the chart update, and suppress chart rendering during callbacks.
Disables the chart update. Suppress chart rendering during callbacks.

Syntax

Visual Basic (Declaration)  
Public Sub DisableUpdate( _
   ByVal disable As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartCallbackManager
Dim disable As Boolean
 
instance.DisableUpdate(disable)
C#  
public void DisableUpdate( 
   bool disable
)

Parameters

disable
If set to true, the chart will be not rendered.
if set to true chart will be not rendered.

Example

This example demonstrates how to disable the chart update. We assume that a chart has been added at design-time.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
  ...

' Disable the chart update.
Chart1.CallbackManager.DisableUpdate(True)
C# Copy Code
using Dundas.Charting.WebControl;
 ...
 
// Disable the chart update.
Chart1.CallbackManager.DisableUpdate(true);

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.