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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -