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

Not able to add RadScheduleView

2 Answers 83 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 09 Jul 2012, 02:25 PM
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 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 Jul 2012, 09:51 AM
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 >>
0
Balaji
Top achievements
Rank 1
answered on 11 Jul 2012, 04:42 PM
Thank you for your quick turn around Todor. But the problem got solved after installing silverlight 5 tools.

Regards,
Balaji
Tags
ScheduleView
Asked by
Balaji
Top achievements
Rank 1
Answers by
Todor
Telerik team
Balaji
Top achievements
Rank 1
Share this question
or