c# - Include Custom Details While Exporting Rad Grid to Excel -


I am using the telerelic red grid. It provides functionality to do this, I want to make some modifications, while this data is being exported.

I want to include the details of the company (such as logos and some other custom details which are not in the red grid) in the exported file.

Is there any possibility to do this with the Rad grid export function? Like to overwrite the function, where can I write these custom data in the exported Excel file?

What is the best way to do this? Please suggest.

Try to do something like this:

Adding ideas is something to the export method Simple HTML in the grid before calling:

Copy the code from the linked thread :)

  Radgrid 1 Mysteratal view. Control. Add (New Literal Control ("& lt; span & gt; & lt; br / & gt; Description: Selected data using dates between January 1, 2011 to September 1, 2011 & lt; / span & gt;" )); RadGrid1.MasterTableView.Caption = "& lt; span & gt; Exported by: br />: John Smith ;"; RadGrid1.ExportSettings.OpenInNewWindow = True; RadGrid1.ExportSettings.ExportOnlyData = false; RadGrid1.MasterTableView.ExportToExcel ();  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -