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

Text at the end of exported file

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joslyn
Top achievements
Rank 1
Joslyn asked on 02 Dec 2013, 02:41 PM
Hi,
I want some text to be displayed at the end of exported file. How to get this?

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 02 Dec 2013, 02:44 PM
Hi Joslyn,

Please try the following code snippet.

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

Thanks,
Princy
Tags
Grid
Asked by
Joslyn
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or