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

Resource Attributes with Server Side Population

3 Answers 87 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 22 Jan 2016, 01:42 AM

I have a RadScheduler using Web Service binding, but that uses Server Side Resource population because we need to group by Resource. This is the configuration of my RadScheduler:

 

<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="WeekView" Height="" HoursPanelTimeFormat="htt" ValidationGroup="RadScheduler1"<br>                        DayStartTime="04:00:00" DayEndTime="21:00:00" WorkDayStartTime="04:00:00" WorkDayEndTime="21:00:00"<br>                        OnClientAppointmentsPopulating="FitTrack.Scheduler.appointmentsPopulating" OnResourcesPopulating="RadScheduler1_ResourcesPopulating" OnClientNavigationComplete="FitTrack.Scheduler.navigationComplete"<br>                        OnClientRequestSuccess="FitTrack.Scheduler.requestSuccess" OnClientFormCreated="schedulerFormCreated" OnClientAppointmentDataBound="FitTrack.Scheduler.appointmentDataBound"<br>                        StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true" AppointmentStyleMode="Default"><br>                        <AdvancedForm Enabled="true" Modal="true" /><br>                        <AdvancedEditTemplate><br>                            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" /><br>                        </AdvancedEditTemplate><br>                        <AdvancedInsertTemplate><br>                            <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" /><br>                        </AdvancedInsertTemplate><br>                        <DayView GroupBy="Trainer" GroupingDirection="Horizontal" /><br>                        <ResourceHeaderTemplate><br>                            <div><br>                                <a href="#" onclick="FitTrack.Scheduler.resourceHeaderClicked('<%# Eval("Key") %>')"><%# Eval("Text") %></a><br>                            </div><br>                        </ResourceHeaderTemplate><br>                        <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /><br>                    </telerik:RadScheduler>

 

When I assign Attributes to my Resources in my GetResources() method, those Attributes do not come across and are not available on the client. Is this a known limitation when using Server Side Resource population with Web Service binding or should those Attributes still be available on the client? Is there something special I need to do for the Attributes to come across?

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 26 Jan 2016, 07:56 AM
Hello Rich,

Please see the following forum thread, which discusses the specifics of setting Scheduler resources attributes when binding the control using a web service. 

Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Rich
Top achievements
Rank 1
answered on 26 Jan 2016, 09:59 PM
Thank you Ivan. Switching to a WCF service seems to have fixed it.
0
Ivan Danchev
Telerik team
answered on 29 Jan 2016, 11:22 AM
Hello Rich,

Thank you for getting back to us. I am glad switching to WCF solved the issue with the resources attributes. 

Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Rich
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Rich
Top achievements
Rank 1
Share this question
or