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

2 posts, 0 answers
  1. Dario
    Dario avatar
    61 posts
    Member since:
    Apr 2011

    Posted 11 Jul 2012 Link to this post

    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?

  2. Mihail
    Mihail avatar
    268 posts

    Posted 16 Jul 2012 Link to this post

    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,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top