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

Custom Appointment Popup

1 Answer 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 15 Jun 2011, 10:35 PM
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.

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 16 Jun 2011, 02:15 PM
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.

Tags
Scheduler
Asked by
Andrew
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or