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

Html Import Provider Issue

2 Answers 72 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 28 Dec 2012, 10:37 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Petrov
Telerik team
answered on 03 Jan 2013, 09:18 AM
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.
0
Doug
Top achievements
Rank 1
answered on 03 Jan 2013, 05:39 PM
Thanks that works well

Doug
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Doug
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Doug
Top achievements
Rank 1
Share this question
or