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

NAmespaces problem

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 18 Jun 2010, 05:47 PM
Hello Telerik.

I like your Silverlight controls, they are really great. I am true beginner, may be my question is stupid:

When I drag any control from the toolbox, VS 2010 adds

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

namespace declaration. Not the clr-namespace x assembly form of namespace declaration which is often described in documentations Getting Started section.

That does it mean?

Thank you very much.

Tom





1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 21 Jun 2010, 08:24 AM
Hi tomas,

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" is a URI namespace that maps to multiple CLR namespaces. So if you have Controls and Input assemblies that using this URI namespace you will see all controls from both assemblies.
Using the old syntax is still supported but will limit you and you will have to add two namespaces to see controls from both assemblies.
We did this change with Silverlight 4 (before that URI namespaces were not supported for custom controls).
We will have to update our documentation.

Best wishes,
Hristo
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
General Discussions
Asked by
tomas
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or