ChartWebPart.OnPreRender Method
Raises the Prerender() event.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreRender(e)
protected override void OnPreRender(
EventArgs e
)
Parameters
- e
Type: System.EventArgs
The EventArgs object that contains the event data.
Remarks
This override sets the visibility of the Chart Web Part toolbar based on the permission of the current user and the value of the ShowToolbar() property.