Html Import Provider Issue

3 posts, 1 answers
  1. Doug
    Doug avatar
    19 posts
    Member since:
    Jun 2010

    Posted 28 Dec 2012 Link to this post

    Hello,

    I just upgraded to the latest version of RadControls for Winforms and am noticing an issue with RadRichTextBox and importing HTML.

    Attached are screen shots of an HTML imported using the new version vs. the old version.  The new looks more like the actual HTML except that the list items have no spacing and are very hard to read.  Since I'm generating the HTML at run time I would be fine with a solution that involves changing the HTML only to work better with the new version of the control. 

    I attempted to attach the HTML file itself but it was not allowed.   Instead I have pasted the portion of the html code that causes the issue below.

    Thanks

    Doug



    <ul style="margin-left:20;padding-left:10;margin-top:5;margin-bottom:5">
    <li>Web Export: Updated to include watermark markups.</li>
    <li>Web Cases: Added "Check idsService Stations" to Tools menu.  This brings up a grid view of stations currently running idsService (1.0.0.4 or later), their version and last activity times.</li>
    <li>Web Cases: When the form is loaded, a message box is displayed if there are no stations detected running idsService.</li></ul>
  2. Answer
    Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 03 Jan 2013 Link to this post

    Hi Doug,

    Thank you for writing.

    I can confirm that we have introduced this issue with our latest version. I have logged it in our Public Issue Tracking System - PITS. You can track the progress of the issue, subscribe for status change alerts and add your vote/comment to it on the following link - PITS Issue.

    Until the issue is resolved you can work around it by executing the following three lines of code right after you import the text in the rich text box:
    this.radRichTextBox1.Document.Selection.SelectAll();
    this.radRichTextBox1.ChangeParagraphLineSpacingType(LineSpacingType.AtLeast);
    this.radRichTextBox1.Document.Selection.Clear();
    I have also updated your Telerik points for reporting this issue.

    I hope this is useful. Should you have further questions, I would be glad to help.
     
    Kind regards,
    Ivan Petrov
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Doug
    Doug avatar
    19 posts
    Member since:
    Jun 2010

    Posted 03 Jan 2013 Link to this post

    Thanks that works well

    Doug
Back to Top