I like the look of the default commanditem, and have set <CommandItemSettings ShowExportToExcelButton="true".
However, I like to control the exporting to excel myself.
I was thinking to write my own exporting code in the grid.ItemCommand:
Select Case e.CommandName
Case "ExportToExcel"
[Export to Excel code]
However, the built in exporting still fires.
However, I like to control the exporting to excel myself.
I was thinking to write my own exporting code in the grid.ItemCommand:
Select Case e.CommandName
Case "ExportToExcel"
[Export to Excel code]
However, the built in exporting still fires.