How to load XAML window inside Tab Control Item

3 posts, 0 answers
  1. srivalli kothapalli
    srivalli kothapalli avatar
    8 posts
    Member since:
    Dec 2009

    Posted 12 Feb 2010 Link to this post


    Im using RadTab in my window.xaml page. Im able to create rad tab dynamically in c# code file but now i need to load the other window in the tabitem. can anyone help me please.

    Thank You.
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 15 Feb 2010 Link to this post

    Hi Srivalli,

    You cannot give a an instance of the Window class as a content to another control. As the exception message says, "Window must be the root of the tree. Cannot add Window as a child of Visual".
    Instead, why don't you consider using a UserControl instead of a Window. Let me know if this is a possible solution to your scenario.

    Kiril Stanoev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Jeff
    Jeff avatar
    1 posts
    Member since:
    Sep 2010

    Posted 22 Sep 2010 Link to this post

    Srivalli - Can you call me (630-853-1537) or email me ( ASAP?
Back to Top