Generating HTML snippets rather than entire documents

4 posts, 0 answers
  1. Martin
    Martin avatar
    10 posts
    Member since:
    Nov 2009

    Posted 16 Nov 2011 Link to this post


    We're looking at using the RichTextBox control to generate HTML elements that will appear within a page (for example, to specify a rich text product specification that will appear as part of a product information page).

    When HTML is exported from the control, it is exported with large quantities of header markup and additional tags that are unnecessary for our purposes.  Unfortunately, since the styles are contained within the header section, simply stripping out this superfluous content is not possible without losing the text formatting.

    Is it possible to configure the HTML provider to generate in-line styles so the formatting will remain consistent when used as part of any HTML document?  Additionally, is it possible to avoid additional markup (such as the classing of paragraphs and spans) when no modifications are being made to the styles in order to avoid the quantity of text generated?

    I have the feeling the control is simply unsuitable for our needs, but please let me know if anyone has a solution to this.

  2. Jack
    Jack avatar
    2335 posts

    Posted 21 Nov 2011 Link to this post

    Hello Martin Clark,

    Thank you for contacting us. Currently, it is not possible to control the HTML generated when exporting RadRichTextBox. However, this feature seems powerful and I added it in our issue tracking system. We will consider implementing it in a future version. We will increase its priority when more people request the same. I updated your Telerik points accordingly.

    Should you have any other questions, do not hesitate to ask.
    All the best,
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

  3. DevCraft banner
  4. Calago
    Calago avatar
    65 posts
    Member since:
    Feb 2008

    Posted 11 Jan 2012 Link to this post


    I would like to request the same. In our case we also want to let the user edit HTML snippets, rather than complete documents. Also no additional markup should be added\applied to the snippet. As it is now, the control cannot be used by us.

  5. Jack
    Jack avatar
    2335 posts

    Posted 13 Jan 2012 Link to this post

    Hello A. Bennen,

    Thank you for your feedback. Currently, this feature is not scheduled and I cannot give you time frame when it will be implemented. However, if more customers request the same, we may raise its priority. You can vote for this feature by following this link.
    Kind regards,
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Back to Top