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

Problems with Tabs - Errors -

1 Answer 109 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 23 Jun 2009, 06:54 PM

Hello,

I'm attempting to follow along in the documentation how to implement a tab but I'm getting the following errors.  All I did was copy and paste the code from RadTabControl - Populating

Errors:

Error 1 'telerik' is an undeclared namespace. Line 6, position 10. E:\web\silverlight\bob1\telerik\telerik\Page.xaml 6 10 telerik
 2 Cannot find project output file E:\web\silverlight\bob1\telerik\telerik\Bin\Debug\telerik.xap.  0 0 telerik.Web
Error 3 The type 'telerik:RadTabControl' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. E:\web\silverlight\bob1\telerik\telerik\Page.xaml 6 10 telerik
Error 4 The type 'telerik:RadTabItem' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. E:\web\silverlight\bob1\telerik\telerik\Page.xaml 7 14 telerik
Error 5 The type 'telerik:RadTabItem' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. E:\web\silverlight\bob1\telerik\telerik\Page.xaml 8 14 telerik
Error 6 The type 'telerik:RadTabItem' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. E:\web\silverlight\bob1\telerik\telerik\Page.xaml 9 14 telerik

Note that I put the Telerik.Window.Controls.Navigation in the references folder as directed, however your documentation is not clear how to do that so I could be doing something wrong.  I've been struggling with this for days trying to figure how to get it to work, I REALLY wish your documentation was more comprehensive with true step by step instructions.  Details on how to do something are equally as important as simply saying "don't forget to do xyz".


Thank you,
Bob

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 24 Jun 2009, 05:39 AM
Hi Robert,
Thank you about your feedback on the documentation. You are correct and we are actively working on improving our help docs.

About the tab control problems - you need to declare the namespace where the tab control is defined:

<

 

UserControl x:Class="SilverlightApplication12.Page"

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation">

 

 

 

<Grid x:Name="LayoutRoot" Background="White">

 

 

 

<telerikNavigation:RadTabControl x:Name="tabControl" Height="200">

 

 

 

<telerikNavigation:RadTabItem Header="item1" />

 

 

 

<telerikNavigation:RadTabItem Header="item2" />

 

 

 

<telerikNavigation:RadTabItem Header="item3" />

 

 

 

</telerikNavigation:RadTabControl>

 

 

 

</Grid>

 

</

 

UserControl>

 

Please let us know if you need more help with this problem.


Kind regards,
Valentin.Stoychev
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
Robert
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or