Resource Attributes with Server Side Population

4 posts, 1 answers
  1. Rich
    Rich avatar
    4 posts
    Member since:
    Dec 2014

    Posted 21 Jan Link to this post

    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?

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 26 Jan Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rich
    Rich avatar
    4 posts
    Member since:
    Dec 2014

    Posted 26 Jan in reply to Ivan Danchev Link to this post

    Thank you Ivan. Switching to a WCF service seems to have fixed it.
  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 29 Jan Link to this post

    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
Back to Top