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

Ajax callback on Rad Scheduler with Custom DB Provider

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Denis Buchwald
Top achievements
Rank 1
Denis Buchwald asked on 05 Nov 2010, 04:09 PM
Hi everyone,

I have recently implemented a custom db provider for our rad scheduler instance. Everything is working well. Appointments are being loaded and updated. The one thing I have noticed, however, is that the ajax capability for rad scheduler to create, add, and update appointments has disappeared. 

Here is a snap shot of the configuration (.aspx)

<telerik:RadAjaxManager runat="Server" ID="RadAjaxManager1">
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" />
       <telerik:RadScheduler runat="server" ID="VacationScheduler" DayStartTime="08:00:00" DayEndTime="21:00:00"
           FirstDayOfWeek="Monday" LastDayOfWeek="Friday" Height="580px" Width="680" DataKeyField="ID"
           DataSubjectField="Subject" DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule"
           DataRecurrenceParentKeyField="RecurrenceParentID" Skin="Windows7" SelectedView="MonthView" ProviderName="SchedulerData">
           <AdvancedForm Modal="true" />
               <telerik:ResourceType KeyField="UserId" Name="User" TextField="UserName" ForeignKeyField="UserID"/>
               <telerik:ResourceStyleMapping Type="User" Text="Alex" ApplyCssClass="rsCategoryBlue" />
               <telerik:ResourceStyleMapping Type="User" Text="Bob" ApplyCssClass="rsCategoryOrange" />
               <telerik:ResourceStyleMapping Type="User" Text="Charlie" ApplyCssClass="rsCategoryGreen" />
           <TimeSlotContextMenuSettings EnableDefault="true" />
           <AppointmentContextMenuSettings EnableDefault="true" />

And in the web.config:

  <radScheduler defaultAppointmentProvider="Integrated">
      <add name="SchedulerData" type="ITSM.Score.Domain.Scheduler.SchedulerProvider" connectionStringName="ITSM.Score.Model.Properties.Settings.ITSMSCOREConnectionString" persistChanges="true" />
      <add handlerPath=".svc" matchExact="false"/>

Before the provider, I had been pulling straight from the db and putting the resulting data into a custom generic list.

Any help would be appreciated.



1 Answer, 1 is accepted

Sort by
Maria Ilieva
Telerik team
answered on 10 Nov 2010, 10:42 AM
Hello Derek,

Could you please test the application by wrapping the RadScheduler with asp UpdatePanel and also please test the same configuration with RadAjaxPanel.

Maria Ilieva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
General Discussions
Asked by
Denis Buchwald
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question