how to use multiple controls in a RadPanleBar control.

2 posts, 0 answers
  1. satish
    satish avatar
    52 posts
    Member since:
    Apr 2009

    Posted 30 Jun 2009 Link to this post


      My Client requirement is like as follow

    Panel Bar ----> Tab Strip Control ----> (each Tab Item should have) Panel Bar

    For this first I have added the RadPanelBar. After that I have added RabTab Control in RadPanelBarItem. Again I tried to add the RadPanelBar control in the RadTabItem.

     <telerik:RadPanelBar Style="{StaticResource PanelBarStyle}">  
    <telerik:RadPanelBarItem Header="Close Tab Panel" Style="{StaticResource PanelBarItem}">  
          <telerik:RadTabControl Style="{StaticResource TabControlStyle}">  
          <telerik:RadTabItem Header="Item 1" Style="{StaticResource TabItemStyle}">  
             <TextBox x:Name="txt"></TextBox>  
          <telerik:RadTabItem Header="Item 2" Style="{StaticResource TabItemStyle}"/>  
          <telerik:RadTabItem Header="Item 3" Style="{StaticResource TabItemStyle}"/>  

    Now I tried to run the application, I am getting this error message
    An Unhandled exception ('Sys.InvalidOperationException: ManagedRuntimeError error #4004 
    in Control 'Silverlight1': System.InvalidOperationException: Element is already the child of 
    another element. at MS.Internal.XcpImports.CheckHResult(UInt32 hr) 

    Can anybody please help me how to use multiple controls in a RadPanleBar control.


  2. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 03 Jul 2009 Link to this post

    Hi satish,

    Unfortunately, we were not able to reproduce the error you've encountered.
    Please, find the attached file and compare it with your project.

    I hope this will help you.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top