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

Setting Focus() on RichTextBox throws Object reference exception

1 Answer 84 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 31 Jan 2011, 02:00 PM
Hi guys,

I am adding a RichTextBox control dynamically inside a panel inside the xaml usercontrol load event :

when I invoke Focus() on the Box, it gives me Object reference not set to an instance of an Object. though the variable contains an instance.

Using Q3 2010 Silverlight.

Any ideas ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivailo Karamanolev
Telerik team
answered on 31 Jan 2011, 03:14 PM
Hello Joseph,

We were unable to reproduce that specific issue by using the RadRichTextBox.Focus() method. Could you please file a support ticket attaching a demo project manifesting the issue so we investigate further?

Regards,
Ivailo
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
RichTextBox
Asked by
Joseph
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Share this question
or