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

[Solved] Export to Excel

2 Answers 153 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yoon-Ho Choi
Top achievements
Rank 1
Yoon-Ho Choi asked on 14 Jan 2010, 11:37 AM
Hi, All

I want to export to excel with html code

like
<table>
    <tr>
        <td>1</td>
        <td>2</td>
    </tr>
    <tr>
        <td>3</td>
        <td>4</td>
    </tr>
</table>

Not using this CS code
    grdList.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;

please help me

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 14 Jan 2010, 12:24 PM
Hello,

RadGrid is able to export to Excel using HTML/CSS-based format. It is not the native binary format used by Microsoft Office but it is a popular way to export data and it is also officially supported by Microsoft.
You could export the RadGrid control via client-side or server-side methods. You can configure the exporting settings for the grid through the RadGrid.ExportSettings section, or declaratively.
For more information, refer to these articles:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/exporting/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdexport.html
http://www.telerik.com/help/aspnet-ajax/grid-html-export.html

However,  could you please elaborate what exactly do you mean by:
"I want to export to excel with html code"

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Yoon-Ho Choi
Top achievements
Rank 1
answered on 15 Jan 2010, 03:02 AM
Hi, Pavlina

Thank you for your reply

And Sorry I'm not good at english
I want to explane correctly, but it's not easy to me..


Anyway thank you very much
Tags
Grid
Asked by
Yoon-Ho Choi
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Yoon-Ho Choi
Top achievements
Rank 1
Share this question
or