Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Can RADEditor generate XHTML code
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Can RADEditor generate XHTML code

Feed from this thread
  • Sachidananda avatar

    Posted on Jun 29, 2011 (permalink)

    Hi,

    I have to use RADEditor to accept rich text from the user and generate a word docuemnt .docx file with this rich text.
    But .docx file can understand only HTML in the form of XML.

    So can the RADeditor generate XHTML data which can be understood by word 2007 / .docx file.

    Regards
    Sachi

  • Rumen Rumen admin's avatar

    Posted on Jul 4, 2011 (permalink)

    Hello Sachi,

    RadEditor for ASP.NET AJAX is an XHTML editor and produces XHTML content with its tools. 

    Although it is not possible to guarantee 100% XHTML compliant content, RadEditor for ASP.NET AJAX provides the following tools, which significantly ease the task of producing valid content:

    1) W3C XHTML Validator dialog
    2) Out-of-the-box ConvertToXhtml and ConvertFontToSpan enabled client-side filters (performs client-side XHTML conversion)
    3) You can use the Content property to obtain the content as XHTML on the server.
    4) Modified dialogs and Node Inspector module to facilitate the removal of non-XHTML compliant attributes

    Due to the fact that the editor relies heavily on the underlying browser rich-edit module there are a number of issues that can negatively affect XHTML compliance:
    1) Use of "FONT" tags
    2) Use of "U" tag (for underline)
    3) Non-compliant closing of tags, etc.

    While the Telerik RadEditor can compensate and automatically convert many of these non-valid tags, the responsibility for producing valid XHTML compliant content is partially on the side of the user. Therefore, we strongly suggest the use of the integrated XHTML Validator dialog for the timely discovery and correction of non-compliant content.


    All the best,
    Rumen
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Can RADEditor generate XHTML code