radwindow inside raddock

3 posts, 1 answers
  1. frank
    frank avatar
    2 posts
    Member since:
    Nov 2010

    Posted 08 Sep 2011 Link to this post


    I am trying to add components dynamically inside a raddock control. Usercontrols and forms are ok but I cannot find the right trick to add a radwindow inside a raddock. When I add a radwindow to a raddock the content is not visible. i did find earlier comments on this issue but no clarification whether or not this is possible.

    My simple question(s): (how) can this be done?

  2. Answer
    Yana avatar
    4547 posts

    Posted 12 Sep 2011 Link to this post

    Hello Frank,

    You cannot place RadWindow directly in the XAML, the recommended approach is to create a user control with a root element RadWindow and open it from the Docking. Please check this help article which explains the approach in details.

    All the best,
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft R3 2016 release webinar banner
  4. frank
    frank avatar
    2 posts
    Member since:
    Nov 2010

    Posted 13 Sep 2011 Link to this post

    Hi Yana,

    You got me on the right track!

    What did not work:

    radPane2.Content =  new PopupMessages(); // the radwindow


    The solution:


    thisPanel = new StackPanel();

    PopupMessages window = new PopupMessages(); 



    radPane2.Content = thisPanel;

Back to Top