Method | Description | |
---|---|---|
Export ( string reportName, |
Exports the datagrid to an Excel file with the name of the datasheet provided by the passed in parameter
|
|
GridViewExcelExporter ( ) : System |
Ctor of the GridViewExcelExporter class
|
Method | Description | |
---|---|---|
ClearChildControls ( System gridView ) : void |
Clears the child controls of a EntityGridView to make sure all controls are LiteralControls
|
|
OnAfterFormat ( |
Called when a control is in the scope to be formated
|
|
OnBeforeFormat ( |
Called when a control is in the scope to be formated
|
Method | Description | |
---|---|---|
RecursiveClear ( |
Iterates a control and its children controls, ensuring they are all LiteralControls
|
protected ClearChildControls ( System gridView ) : void | ||
gridView | System | Datagrid to be cleared and verified |
return | void |
public Export ( string reportName, |
||
reportName | string | |
currentPage | ||
gridView | ||
return | void |
protected OnAfterFormat ( |
||
e | The ExcelFormatEventArgs instance containing the event data. | |
return | void |
protected OnBeforeFormat ( |
||
e | The ExcelFormatEventArgs instance containing the event data. | |
return | void |