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

Newbie question about these controls

1 Answer 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 25 Feb 2011, 10:45 AM
Hi guys.

A bit of a newbie here so I hope you'll forgive a newbie question. So I've installed the Telerik controls on my machine, and I have my Silverlight project. I've added the references to Telerik.Windows.Controls, and I want to use a RadDomainDataSource in my code. Now I know what that code will be from the examples. What I don't know is what to put as my namespace at the top of my XAML file to get the reference into my code.

Oh, and I should have mentioned... I'm using Visual Studio 2010 in C# config and Silverlight 4. I added the references by going to the 'references' folder of the Silverlight part of my application, right clicking and going to 'add reference' and then finding the Telerik control and adding it that way.

Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 01 Mar 2011, 07:58 AM
Hello John,

You should add references to the assemblies to your project, and then register our uri namespace in your xaml. (i.e. xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation ). Through the alias you have used to name it, you can instantiate all of our public types (i.e. <telerik:RadGridView /> ). I am wishing you fruitful experience with our controls.


Regards,
Ivan Ivanov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or