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

RadRibbonButton Style problem

2 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mdavid626
Top achievements
Rank 1
mdavid626 asked on 05 Feb 2014, 10:17 AM
I have a Silverlight project, where styles are in a separate assembly. There is a Style.xaml file, where the styles are. In this file e.g:

<ControlTemplate x:Key="RadRibbonButtonSmallControlTemplate" TargetType="telerik:RadRibbonButton">

where the compiler shows an error:

--> TargetType="telerik:RadRibbonButton" <--

Error    207    The name "RadRibbonButton" does not exist in the namespace "http://schemas.telerik.com/2008/xaml/presentation".

However the Telerik components are referenced. Can you help me resolve this issue?

Thank you in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 10 Feb 2014, 09:37 AM
Hello David,

The onliest reason we can find reasonable for such error is if you missed to add reference to Telerik.Windows.Controls.dll in your project. The required assemblies for RadRibbonView are listed in our documentation - here. If you have everything correctly added and you still face the same issue, please try to use the CLR namespace - xmlns:telerikRibbonView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView" instead of telerik schemas.
You might also open a formal support thread and send us a runnable sample with all binaries included so that we can inspect locally what might cause the problem.

Regards,
Evgenia
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
mdavid626
Top achievements
Rank 1
answered on 11 Feb 2014, 03:58 PM
Thank you.

I needed the folowing references:

Telerik.Windows.Controls
Telerik.Windows.Controls.Input
Telerik.Windows.Controls.Navigation
Telerik.Windows.Controls.RibbonView
Tags
General Discussions
Asked by
mdavid626
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
mdavid626
Top achievements
Rank 1
Share this question
or