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

Compatibility Silverlight WPF issue

1 Answer 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Laurent DANESI
Top achievements
Rank 1
Laurent DANESI asked on 12 Jan 2010, 05:52 PM
Hi all,

We are testing to buy the library. For this we did a nice prototype in Silverlight to test RadControl.
Now i'm converting the silverlight prototype to WPF to see how the RadControl lib behaves since we have to choose a lib which is 100% compatible with silverlight and WPF. We don't want to wonder each time we do something in silverlight if it is potential broken on WPF.

Currently I'm facing a problem with RadControl and the WPF version of our prototype. Visual Studio saying it can't find reference to some RadControl component.

RadDockPanel
RadDockPanel.Dock
HierarchicalDataTemplate

It logs Erreur    2    Erreur de génération inconnue, 'MC3074 : la balise 'HierarchicalDataTemplate' n'existe pas dans l'espace de noms XML 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls'. Ligne 16 Position 10.'  

Erreur    3    Erreur de génération inconnue, 'MC3074 : la balise 'RadDockPanel' n'existe pas dans l'espace de noms XML 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls'. Ligne 32 Position 10.' 

Erreur    4    Le type 'telerik:RadDockPanel' est introuvable. Assurez-vous qu'il ne manque aucune référence d'assembly et que tous les assemblys référencés ont été générés. 

I've well added references with all Telerik's references availables.

So my question is why it does not found this telerik components in WPF version?

This raises 2 important questions

1) Do all the Telerik's components available in silverlight are available in WPF ?
2) Do all the Telerik's components have the same naming in both SDK ?


Thank you by advance for your support.

Luciano

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 12 Jan 2010, 06:32 PM
Hi Laurent DANESI,

Straight to your questions:

Few controls are available only in Silverlight, but normally this is due to the specifics of Silverlight - the RadUpload, RadHtmlPlaceholder and the MediaPlayer are available only for Silverlight and the RadCarousel is available only for WPF (because of some WPF-specific features it uses).

The naming of the controls is the same, as is the naming of their members.

As you know Silverlight is a subset of WPF. We have designed the Silverlight controls to offer some of the WPF built-in functionality - this includes the HierarchicalDataTemplate, the RadDockPanel the DataTemplateSelctors, RoutedEvents and more.

In this case we rely on WPF and do not offer a telerik HierarchicalDataTemplate for example but rely on the one already present in WPF. This approach is only taken for "building blocks" elements.

In this case the <telerik:HierarchicalDataTemplate /> needs to be replaced with <HierarchicalDataTemplate />

Do come back to us with more questions or suggestions,

Greetings,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Laurent DANESI
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or