Not able to add RadScheduleView

3 posts, 0 answers
  1. Balaji
    Balaji avatar
    3 posts
    Member since:
    Jul 2012

    Posted 09 Jul 2012 Link to this post

    Hi,

    I am new to telerik controls and trying to create a silverlight application and use RadScheduleView control. Below are the steps which I followed to do the same:

    1. Created a new sliverlight application (selected "New Web Project Type" as 'ASP.NET Web Application Project')
    2. Double clicked on 'RadScheduleView' control from Toolbox to add it to Main.xaml file
    3. Tried to build the project and got "The type or namespace name 'RadScheduleView' could not be found (are you missing a using directive or an assembly reference?" in Main.g.i.cs file.
    4. I added the reference 'Telerik.Windows.Controls.ScheduleView' to the project.
    5. When I am trying to add the using statement for Telerik.Windows.Controls' I am not getting that in my .cs file.

    I tried cleaning up the entire solution and re-build it again which did not work either.

    If anyone tell me what I am doing wrong will be a great help.

    Thanks,
    Balaji
  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 10 Jul 2012 Link to this post

    Hello Balaji,

    I reproduced your scenario locally. Please make sure that you have added references to the following assemblies in your project, because you do not mention adding them - you have mentioned only 'Telerik.Windows.Controls.ScheduleView.dll'.

    Telerik.Windows.Controls.dll
    Telerik.Windows.Controls.Input.dll 
    Telerik.Windows.Controls.Navigation.dll 
    Telerik.Windows.Controls.ScheduleView.dll 


    Further, please also make sure that you are writing the 'using' directive in the Main.xaml.cs file, not in 'Main.g.i.cs'.

    I hope this helps.

    All the best,
    Todor
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Balaji
    Balaji avatar
    3 posts
    Member since:
    Jul 2012

    Posted 11 Jul 2012 Link to this post

    Thank you for your quick turn around Todor. But the problem got solved after installing silverlight 5 tools.

    Regards,
    Balaji
Back to Top