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

"Borders.All does not have a setter" in 2012.2.625.1040

1 Answer 28 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dario
Top achievements
Rank 2
Dario asked on 11 Jul 2012, 01:56 PM
Before last relase I'm using this code 
_tDA.Borders.All = new Telerik.Windows.Documents.Model.Border(BorderStyle.Single);

after update to 2012.2.625.1040  VS2010 show me that "Borders.All does not have a setter",
I tryied to change code in this versione
_tDA.Borders = new TableBorders(new Telerik.Windows.Documents.Model.Border(BorderStyle.Single));

But the borders does not appears! What can I do?

Help!

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 16 Jul 2012, 11:33 AM
Hi Dario, 

We couldn't reproduce the issue with setting the borders. The following code is working as expected:

table.Borders = new TableBorders(new Border(BorderStyle.Single));
A possible problem is not updating the editor layout after changing the document. You can do so by using the RadRichTextBox.UpdateEditorLayout() method.

If you still experience this issue please open a support ticket and send us simple demo project illustrating the issue so that we can investigate it further.


All the best,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Dario
Top achievements
Rank 2
Answers by
Mihail
Telerik team
Share this question
or