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

export as html with inline style

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marco Teodoro
Top achievements
Rank 1
Marco Teodoro asked on 26 Jul 2011, 06:25 PM
Hello, i'm trying to export radgrid to html with the same aspect as we see it in the web browser. to be able to send it by email.

But each email client have is own way of handling css styles. as long as i know the best way to do it is setting all the styles inline, an that's exactly what i want to do.

But i'm facing several problems... can someone point me a solution?

i'm trying to use the folowing script http://www.tikku.com/css-inline-transformer#css_inline_tabs_1

first i have a error appending the css style sheet to the header tag... but i think this is unnecessary since i already have the css style in the telerik axd. 

the steps are get the html from grid, get the css style sheet, and finaly merge the htlm of grid whith the css classes of the style sheet.

i need to have this done asap :\

best regards, Marco






  

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 01 Aug 2011, 02:25 PM
Hello Marco,

We do not support such custom scenarios with third-party tools. For problems related to the export format (Microsoft Office HTML), I would suggest that you examine the Microsoft Office HTML and XML Reference.
That said, if you provide an HTML content with properly applied inline styles, Excel should be able to display the file out-of-the-box.

Kind regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Marco Teodoro
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or