This is a migrated thread and some comments may be shown as answers.

how to use multiple controls in a RadPanleBar control.

1 Answer 59 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
satish
Top achievements
Rank 1
satish asked on 30 Jun 2009, 01:39 PM
Hi,

  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>  
                 
      <telerik:RadTabItem Header="Item 2" Style="{StaticResource TabItemStyle}"/>  
      <telerik:RadTabItem Header="Item 3" Style="{StaticResource TabItemStyle}"/>  
  </telerik:RadTabControl>  
</telerik:RadPanelBarItem>  
           
      </telerik:RadPanelBar> 

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.

Regards
Satish


1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 Jul 2009, 11:35 AM
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,
Dimitrina
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.
Tags
TabControl
Asked by
satish
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or