C# Class Phresco.FusionCharts.ChartFromList

Inheritance: System.Web.UI.WebControls.WebParts.WebPart
ファイルを表示 Open project: photon-infotech/sharepoint-resource-management

Private Properties

Property Type Description
CheckSettings void
HandleException void

Public Methods

Method Description
ChartFromList ( ) : System

Protected Methods

Method 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

Method 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 method

public ChartFromList ( ) : System
return System

CreateChildControls() protected method

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

ExportExcelButtonClick() protected method

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
return void

ExportXmlButtonClick() protected method

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
return void