Can this be done - Rad scheduler flexible time slots

8 posts, 0 answers
  1. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 11 Jan 2012 Link to this post

    I have a customer who wants me to build a reservation system.

    The problem is that lessens can be from different lenght. 25 min, 40 min, 50 min 1h10 min for example (even worse he wants it to be multi client capable where they can set there own times)

    To make it even more complicated some of the clients my want any lessons to follow streight to the next. Other might want a 5 or 10 minutes break after each lesson that was booked.

    Imagine this
    Golf Pro 1 gives 25min, 50min and 1h 30 min lessons and wants 5 minutes break after each booking.
    Golf Pro 2 gives 25min, 40 min, and 1 hour lessons no breaks within.

    I rember having done a reservation system with radsceduler a while back but the each had 30 minutes slots on the hour and half hours with no breaks in between.

    Anyone sees an solution how I would programmicaly approach this problem (more of of a concept question) and if RadScheduler could handle the task. Or maybe Radsceduler only for showing booked times and show available times with an pop up or so.

    Markus
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Jan 2012 Link to this post

    Hello Markus,

    From what I understand, I see a couple of challenges you would have to tackle with this scenario:

    1. You would like to provide user with more granularity with respect to the time slots. This can be achieved via the MinutesPerRow property. For example - MinutesPerRow="5". Also, you can use the Exact Time Rendering feature of RadScheduler.

    2. You would like to block a time period which already has an appointment from allowing scheduler another appointment. You would also like this to be done on a per user basis. If that's the case, then there are a couple of online demos that will provide you with ideas how to proceed:
    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 11 Jan 2012 Link to this post

    Thank's Peter

    That is a good starting point. I am only afraid it might be bit more complex.
    Markus
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Jan 2012 Link to this post

    Hello,

    Feel free to get back to us as  you proceed with the implementation. We will be glad to assist you further.

    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  5. Scorpy47
    Scorpy47 avatar
    19 posts
    Member since:
    Aug 2012

    Posted 05 Mar 2013 Link to this post

    Hi,
     How much ever I tried, I am not able to get the EnableExactTimeRendering thing working. Below is my radscheduler definition. Can you please help me in pointing out what is that I am doing incorrectly? Any help would be appreciated. (version :2010.3.1215.35)
    --Snippet--
    <telerik:RadScheduler runat="server" Skin="Windows7" ID="MeetingSpaceScheduler"
                        OverflowBehavior="Expand" SelectedView="TimelineView" EnableExactTimeRendering="true" DataStartField="Start"
                        DataEndField="End" DataSubjectField="Subject" DayStartTime="08:00:00" DayEndTime="19:00:00" DataKeyField="ID" DataDescriptionField="Description"
                        Localization-HeaderToday="Choose a date: "
                        OnNavigationCommand="GetMeetingSpaceDetails" FirstDayOfWeek="Monday" LastDayOfWeek="Friday"
                        CustomAttributeNames="TotalPersons,WhatFor,CreatedBy,CreatedByName,HasEquipments,HasProducts,DefaultStatusId,DefaultStatus"
                        Localization-ShowBusinessHours="true"
                        TimelineView-HeaderDateFormat="dd/M/yyyy"
                        AdvancedForm-EnableCustomAttributeEditing="true" AdvancedForm-Modal="true"
                        StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true" EnableRecurrenceSupport="true"
                        DataRecurrenceField="RecurrenceRule"
                        DataRecurrenceParentKeyField="RecurrenceParentID"
                        OnAppointmentUpdate="AppointmentUpdate"
                        Localization-AdvancedEditAppointment="Requested Booking Detail"
                        onappointmentinsert="AppointmentInsert"
                        onformcreated="MeetingSpaceScheduler_FormCreated" OnAppointmentCreated="OnAppointmentCreated" OnFormCreating="onFormCreating">
                        <AppointmentTemplate>
                            <div style="font-weight:bold"><%#Eval("Subject") %> </div> <div><%#Eval("Description") %></div>
                        </AppointmentTemplate>
                        <DayView UserSelectable="false"></DayView>
                        <WeekView UserSelectable="false"></WeekView>
                        <MonthView UserSelectable="false"></MonthView>
                        <TimelineView UserSelectable="false" SlotDuration="00:30:00" StartTime="08:00:00" NumberOfSlots="20" GroupingDirection="Vertical" ColumnHeaderDateFormat="HH:mm" GroupBy="Location"/>
                    </telerik:RadScheduler>
    --Snippet ends--
  6. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 06 Mar 2013 Link to this post

    Hello Karthik,

     
    ExactTimeRendering functionality in TimeLineView in RadScheduler was added a bit later than in the other views- Q1 2011 as it is listed here

    Hope this will explain the issue.

    Kind regards,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Scorpy47
    Scorpy47 avatar
    19 posts
    Member since:
    Aug 2012

    Posted 06 Mar 2013 Link to this post

    Thank you Plamen as always. We did not upgrade to the latest version so we missed out on this. Is there any other work around for this functionality? Interstingly I downloaded the version 2013.1.220.35 and with the same code as above (took the skins out as it was not right). The appointments were not loaded the first time I had to refresh manually or select another date. any tips ?
  8. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 08 Mar 2013 Link to this post

    Hello Karthik,

    Unfortunately from the provided mark up it is not clear what may be causing the unusual behavior. It seems that the issue is causes somewhere in the code behind. I will recommend to you comment the code connected to RadScheduler's event step by step till you narrow what may be causing the issue. If you still can't figure it out please share the missing code so we could be more helpful.

    Regards,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top