This is a migrated thread and some comments may be shown as answers.

[Solved] Export to excel: radgrid + text

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ido nahmias
Top achievements
Rank 1
ido nahmias asked on 07 Aug 2013, 10:01 AM
Export to excel: radgrid + text

I would like to export to excel a radgrid and a text at the end of the style sheet.

Is it possible? if it is possible, how can it be done?

Thanks

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 07 Aug 2013, 10:15 AM
Hello,

Please try with the below code snippet.

let me know if i am not understand your requirement.

protected void RadGrid1_GridExporting(object sender, GridExportingArgs e)
    {
        e.ExportOutput = e.ExportOutput.Replace("</table>", "</table><div>your text comes here</div>");
    }


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
ido nahmias
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or