Setting Focus() on RichTextBox throws Object reference exception

2 posts, 0 answers
  1. Joseph
    Joseph avatar
    135 posts
    Member since:
    Sep 2007

    Posted 31 Jan 2011 Link to this post

    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

  2. Ivailo Karamanolev
    Admin
    Ivailo Karamanolev avatar
    276 posts

    Posted 31 Jan 2011 Link to this post

    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>>
Back to Top