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

RadRichtextbox.text is not working.

1 Answer 135 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 06 Nov 2012, 12:16 PM
Hi Telerik,
I trying to update some text to RadRichTextBox but it's work. It showing me a blank screen. If i use windows/winform richtextbox it works.

What shouild i do???  Thank you.

exBuilder.Clear();
                exBuilder.Append(exception.Message + Environment.NewLine);
 
                RadRichTextBox richTextBox = new RadRichTextBox();
                //RichTextBox richTextBox = new RichTextBox();
                richTextBox.ThemeName = "Office2007Black";
 
                richTextBox.Text =  line + ":" + exBuilder.ToString();
                richTextBox.Dock = DockStyle.Fill;
                richTextBox.IsReadOnly = true;
                //richTextBox.ReadOnly = true;
                richTextBox.ForeColor = Color.Red;

1 Answer, 1 is accepted

Sort by
0
Karthik
Top achievements
Rank 1
answered on 06 Nov 2012, 12:35 PM
Sorry Telerik, found solution:  richTextBox.Insert(line + ":" + exBuilder);
http://www.telerik.com/help/silverlight/radrichtextbox-frequently-asked-questions.html
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Karthik
Top achievements
Rank 1
Answers by
Karthik
Top achievements
Rank 1
Share this question
or