Content in window control

2 posts, 1 answers
  1. Abner Estrada
    Abner Estrada avatar
    2 posts
    Member since:
    Nov 2009

    Posted 25 Nov 2009 Link to this post

    I try to assign with code, content to Window, but, no works, can help me, this is my code:

                RadWindow win = new RadWindow();
                pnlControls pnl = new pnlControls(); ///Is a user control with other controls
                win.Content = pnl;    

    Thanks in advance.

  2. Answer
    Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 26 Nov 2009 Link to this post

    Hi Abner,

    This should work fine. I prepared a simple project that uses your code. Please find the attached project.

    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top