Newbie question about these controls

2 posts, 0 answers
  1. Steve
    Steve avatar
    36 posts
    Member since:
    Feb 2011

    Posted 25 Feb 2011 Link to this post

    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!
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1217 posts

    Posted 01 Mar 2011 Link to this post

    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!
Back to Top