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

[Solved] HTML values are not getting exported to excel from RadGrid

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 30 Jan 2013, 01:27 PM
Dear Reader,

Thanks for the reply. One more question.

I have HTML tags in my cell of RadGrid along with other data in my RadGrid

For eg. My one of the cell in radgrid contains this value "<html><tr><td>1 row</td></tr>\r\n<tr><td>1 row</td></tr> \r\n</html>".

Now when I call RadGrid.ExportToExcel() method. This data is not getting exported to Excel. All the rows above this cell are getting exported but this row and the rows following this row is not getting exported.

Please help !!!

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 04 Feb 2013, 09:18 AM
Hello Prashant,

RadGrid will not be able to export invalid HTML.

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Prashant
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or