RadWindow in UserControl

2 posts, 0 answers
  1. Messias
    Messias avatar
    1 posts
    Member since:
    Jul 2012

    Posted 06 May 2013 Link to this post

    Good afternoon.

    Are trying to run an event in instaciado RadWindow inside a usercontrol, but returns me an error: Object reference not set to an instance of an object.

    what could be the cause?
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 May 2013 Link to this post

    Hello Messias,

    RadWindow cannot be declared as a visual element inside a UserControl. It should be either created in code-behind as explained here or used as a UserControl as demonstrated here.

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top