Good day,
I am trying my darnedest to get this working without an entity model. My database structure is nothing even close or usuable for the scheduleview so I am attempting to manually create the objects.
In the .Web project I have manually created a DomainService:
To get access to "Appointments" I need to add Telerik.Windows.Controls.ScheduleView. That assembly doesn't appear to be readily available in the .Net references (as it is for the non .web project) so I have to browse or use recent to reference the assembly. Then I get warnings for other assemblies saying that I am missing System.Windows and System.Windows.Data. Do I need to address these warning?
Then when I add "using Telerik.Windows.Controls.ScheduleView;" to my DomainService I get the folllowing error:
Error 2 The type 'Telerik.Windows.Controls.ViewModelBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Windows.Controls, Version=2011.1.419.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
So by brute force I add a reference to Telerik.Windows.Controls.dll.
After all that, when I can finally build the .web project. When I build the silverlight project I get the following error:
Error 1 Entity 'Telerik.Windows.Controls.ScheduleView.Appointment' has a property 'TimeZone' with an unsupported type.
How do I fix this error?
Was all the work necessary to access appointments in the DomainService or is there a better way?
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel
Installed Version: Professional
Microsoft Visual C# 2010 01018-587-3062631-70500
Microsoft Visual C# 2010
Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB982218) KB982218
This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
Telerik Silverlight VSExtensions 2011.01.414.0
Telerik RadControls for Silverlight VSExtensions Package
-Markus