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

Change to simpler xmlns:telerik declaration results in ambiguous reference

1 Answer 308 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 03 Aug 2010, 01:15 AM
I am using Q2 2010 Silverlight controls with Silverlight 4.

I changed my xmlns declarations from the following old style:

    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
    xmlns:telerikTransitions="clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"

and replaced those three declarations with a single simpler Silverlight 4 style:
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation

This allows you to change the declaration for the transition from this:

         <telerikTransitions:FadeTransition>
         </telerikTransitions:FadeTransition>

to this:

          <telerik:FadeTransition>
          </telerik:FadeTransition>



Unfortunately, at least for the FadeTransition (does not happen for all the transitions) this results in the following error:

Error 69 Ambiguous type reference. A type named 'FadeTransition' occurs in at least two namespaces, 'Telerik.Windows.Controls' and 'Telerik.Windows.Controls.TransitionEffects'. Consider adjusting the assembly XmlnsDefinition attributes. 

Please research this problem.

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 06 Aug 2010, 07:05 AM
Hello Greg,

We have several 'transitions' one for obsolete Navigation framework, one for the RadComboBox, RadMenu, RadDropDown etc. controls that have popups and that popup's show/hide is animated and one for RadTransitionControl. Some of them have the same names eventually (like the FadeTransition) We will rename or remove ambiguous references but it will be breaking change. For now we would recommend you to define an effects xmlns with the transitions for RadTransitionControl and not replacing them with the telerik xmlns.

Sincerely yours,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TransitionControl
Asked by
Greg
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or