Hello Helen,
I noticed that you mix
HTML and
ExcelML-specific code. For example,
ExcelExportCellFormatting event will be fired only when using the
HTML format. On the other hand the
ExcelMLExportRowCreated and
ExcelMLExportStylesCreated events are triggered for
ExcelML only.
I also noticed that the
GridExporting handler contains
HTML-specific code. This event will fire for all export formats so you should be careful not to break the generated output.
If you use both formats you should differentiate them using the
e.ExportType property
Please examine the following links for more information about the differences between
HTML and
ExcelML formats:
Word/Excel export (HTML-based)
ExcelML basics
Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items