Hi,
I am using the Telerik Scheduler on my site. At the moment, I am doing local testing. My
The server method getresources failed
The server method getappointments failed
Now I am using WCF. I have the service interface and implementation in the website project and my .svc file points to this service (path is fine).
My service implementation looks like this:
And the aspx:
These errors appear even if I press the buttons on the control.
What am I missing?
I am using the Telerik Scheduler on my site. At the moment, I am doing local testing. My
The server method getresources failed
The server method getappointments failed
Now I am using WCF. I have the service interface and implementation in the website project and my .svc file points to this service (path is fine).
My service implementation looks like this:
| [ServiceContract(Namespace = "")] |
| [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] |
| [ServiceBehavior(IncludeExceptionDetailInFaults = true)] |
| public class Scheduler |
| { |
| private WebServiceAppointmentController _controller; |
| private WebServiceAppointmentController Controller |
| { |
| get |
| { |
| if (_controller == null) |
| { |
| _controller = |
| new WebServiceAppointmentController( |
| new XmlSchedulerProvider(HttpContext.Current.Server.MapPath("~/Content/Schedule.xml"), |
| false)); |
| } |
| return _controller; |
| } |
| } |
| [OperationContract] |
| public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo) |
| { |
| return Controller.GetAppointments(schedulerInfo); |
| } |
| [OperationContract] |
| public IEnumerable<AppointmentData> InsertAppointment(SchedulerInfo schedulerInfo, AppointmentData appointmentData) |
| { |
| return Controller.InsertAppointment(schedulerInfo, appointmentData); |
| } |
| [OperationContract] |
| public IEnumerable<AppointmentData> UpdateAppointment(SchedulerInfo schedulerInfo, AppointmentData appointmentData) |
| { |
| return Controller.UpdateAppointment(schedulerInfo, appointmentData); |
| } |
| [OperationContract] |
| public IEnumerable<AppointmentData> CreateRecurrenceException(SchedulerInfo schedulerInfo, |
| AppointmentData recurrenceExceptionData) |
| { |
| return Controller.CreateRecurrenceException(schedulerInfo, recurrenceExceptionData); |
| } |
| [OperationContract] |
| public IEnumerable<ResourceData> GetResources(SchedulerInfo schedulerInfo) |
| { |
| return Controller.GetResources(schedulerInfo); |
| } |
| } |
And the aspx:
| <telerik:RadScheduler ID="RadScheduler1" runat="server" Skin="Black" Visible="true" SelectedDate="2009-02-02" |
| Width="1043px"> |
| <Localization AdvancedAllDayEvent="All day"></Localization> |
| <AdvancedForm DateFormat="dd/MM/yyyy" TimeFormat="HH:mm"></AdvancedForm> |
| <WebServiceSettings Path="Service.svc" /> |
| </telerik:RadScheduler> |
These errors appear even if I press the buttons on the control.
What am I missing?