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

Ajax callback on Rad Scheduler with Custom DB Provider

1 Answer 31 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">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
    <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" />
           <ResourceTypes>
               <telerik:ResourceType KeyField="UserId" Name="User" TextField="UserName" ForeignKeyField="UserID"/>
           </ResourceTypes>
           <ResourceStyles>
               <telerik:ResourceStyleMapping Type="User" Text="Alex" ApplyCssClass="rsCategoryBlue" />
               <telerik:ResourceStyleMapping Type="User" Text="Bob" ApplyCssClass="rsCategoryOrange" />
               <telerik:ResourceStyleMapping Type="User" Text="Charlie" ApplyCssClass="rsCategoryGreen" />
           </ResourceStyles>
           <TimeSlotContextMenuSettings EnableDefault="true" />
           <AppointmentContextMenuSettings EnableDefault="true" />
       </telerik:RadScheduler>

And in the web.config:


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

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.

Cheers,

Chris...

1 Answer, 1 is accepted

Sort by
0
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.

Regards,
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
Tags
General Discussions
Asked by
Denis Buchwald
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or