C# Class Phresco.FusionCharts.ChartFromList

Inheritance: System.Web.UI.WebControls.WebParts.WebPart
Afficher le fichier Open project: photon-infotech/sharepoint-resource-management

Private Properties

Свойство Type Description
CheckSettings void
HandleException void

Méthodes publiques

Méthode Description
ChartFromList ( ) : System

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void

Create all your controls here for rendering. Try to avoid using the RenderWebPart() method.

ExportExcelButtonClick ( object sender, EventArgs e ) : void

When the user click on the export to Excel button so we build a csv and then make it download with good header to make it opened by excel automatically

ExportXmlButtonClick ( object sender, EventArgs e ) : void

When the user click on the export to XML button so we get to xml, and make it download

Private Methods

Méthode Description
CheckSettings ( ) : void

Checks the web part properties (settings) before trying to render the chart

HandleException ( Exception ex ) : void

Clear all child controls and add an error message for display.

Method Details

ChartFromList() public méthode

public ChartFromList ( ) : System
Résultat System

CreateChildControls() protected méthode

Create all your controls here for rendering. Try to avoid using the RenderWebPart() method.
protected CreateChildControls ( ) : void
Résultat void

ExportExcelButtonClick() protected méthode

When the user click on the export to Excel button so we build a csv and then make it download with good header to make it opened by excel automatically
protected ExportExcelButtonClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ExportXmlButtonClick() protected méthode

When the user click on the export to XML button so we get to xml, and make it download
protected ExportXmlButtonClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void