export as html with inline style

2 posts, 0 answers
  1. Marco Teodoro
    Marco Teodoro avatar
    53 posts
    Member since:
    Apr 2010

    Posted 26 Jul 2011 Link to this post

    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

  2. Daniel
    Daniel avatar
    4949 posts

    Posted 01 Aug 2011 Link to this post

    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,
    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.

Back to Top