Custom Appointment Popup

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    23 posts
    Member since:
    Apr 2011

    Posted 15 Jun 2011 Link to this post

    Hi have used the RadScheduler to setup a small hotel reservations/availability calendar with my rooms down the left hand side and my dates display along the top in Timeline view.

    However, I am now stuck. When I click a room and a date to make a new reservation, the only box that appears is a small textbox (which I assume is where you type a subject) with three buttons - Save, Cancel & Options.

    When I click on the Options button, a larger new appointment screen appears with a subject field, start time, end time, all day checkbox and a dropdown list with my Rooms.

    A few things I am trying to accomplish:

    1. When I click a room and date, I would like the new appointment/reservation screen to popup automatically without having to click the options button.
    2. I would like to customise this appointment screen by renaming field labels and adding new fields. i.e. I need a drop down list with all the Guests in my system. So I can select the client for the room (which would be the subject I assume).
    3. Colour code the appointments/reservations depending on the reservation status set in my database.

    Any help appreciated thank you.
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 16 Jun 2011 Link to this post

    Hello Andrew,

    1) You need to set the StartInsertingInAdvancedForm property to "true".
    2) In order to change the controls in the Advanced Form - you can use templates as shown in this demo.
    3) To color the appointments based on reservations - you can set the Reservation Status as a Recource of the Appointment. This approach is similar to this demo. Please notice the color of the appointments depending on the Persons (Alex, Bob and Charlie) which are resources.

    Please feel free to ask me if you have further questions.

    Best wishes,
    Veronica Milcheva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top