On page load I am getting two errors:
The server method GetResources / GetAppointments Failed.
Also if I try to insert I get "InsertAppointment" failed.
I am using .NET MVC 4
The Scheduler is being put on the page via a partial control.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<
dynamic
>" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
form
id
=
"SchedulerForm"
runat
=
"server"
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
>
</
telerik:RadStyleSheetManager
>
<
asp:ScriptManager
runat
=
"server"
ID
=
"sm1"
></
asp:ScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"Scheduler"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Scheduler"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadScheduler
runat
=
"server"
ID
=
"Scheduler"
ClientIDMode
=
"Static"
StartInsertingInAdvancedForm
=
"True"
AllowEdit
=
"true"
AllowInsert
=
"true"
>
<
WebServiceSettings
path
=
"/Models/SchedulerWcfService.svc"
UseHttpGet
=
"true"
ResourcePopulationMode
=
"ClientSide"
/>
<
AdvancedForm
Modal
=
"true"
/>
</
telerik:RadScheduler
>
The path to the webservice works.
<
system.serviceModel
>
<
bindings
>
<
basicHttpBinding
>
<
binding
name
=
"BasicHttpEndpointBinding"
>
<
security
mode
=
"TransportCredentialOnly"
>
<
transport
clientCredentialType
=
"Windows"
/>
</
security
>
</
binding
>
</
basicHttpBinding
>
</
bindings
>
<
services
>
<
service
behaviorConfiguration
=
"AuthenticationServiceTypeBehaviors"
name
=
"DOTTReportsWebViewer.Models.SchedulerWcfService"
>
<
endpoint
binding
=
"basicHttpBinding"
bindingConfiguration
=
"BasicHttpEndpointBinding"
name
=
"BasicHttpEndpoint"
contract
=
"DOTTReportsWebViewer.Models.SchedulerWcfService"
/>
</
service
>
</
services
>
<
behaviors
>
<
serviceBehaviors
>
<
behavior
name
=
"AuthenticationServiceTypeBehaviors"
>
<
serviceMetadata
httpGetEnabled
=
"true"
/>
<
serviceDebug
includeExceptionDetailInFaults
=
"false"
/>
</
behavior
>
</
serviceBehaviors
>
</
behaviors
>
</
system.serviceModel
>
</
form
>
If I change :
<WebServiceSettings path="/Models/SchedulerWcfService.svc" UseHttpGet="true" ResourcePopulationMode
="ClientSide"/>
to:
<WebServiceSettings path="/Models/SchedulerWcfService.svc" UseHttpGet="true" ResourcePopulationMode="ServerSide"/>
I get a 401 error