Hi telerik,
I use in my app RadRichTextBox inside of RadWindow as UserControl.
The problem is when I want load the Document Property of RichTextBox I can´t show anything.
I did this:
And with this line (
When I do
Thanks in advance.
I use in my app RadRichTextBox inside of RadWindow as UserControl.
The problem is when I want load the Document Property of RichTextBox I can´t show anything.
I did this:
window.Header = "Edição de Templates Notificação";
window.Width = 600;
window.Height = 500;
UserControls.SGAControloWord SGAWord = new UserControls.SGAControloWord();
SGAWord.radRichTextBox1.Document = ImportHtml(((TemplatesNotificacoes)TemplateNotificacaoSeleccionada).ConteudoProp);
window.Content = SGAWord.radRichTextBox1;
window.Show();
And with this line (
window.Content = SGAWord.radRichTextBox1;
) is given an error: Value does not fall within the expected rangeWhen I do
window.Content = SGAWord
the Window contain the RichTextBox, but don´t show the document.Thanks in advance.