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

several newbie questions.

3 Answers 120 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Calvin
Top achievements
Rank 1
Calvin asked on 29 Mar 2011, 04:59 PM
1).  Animations are available if I integrate this with JQuery?  Is there a walkthrough for how to install/implement this feature?

2).  Are there any good in-depth articles on Resources/Resource Types, what they are conceptually, how/why they're used, what scenarios are they used for.

3).  I've read through some articles on what the Scheduler can do, but just haven't found where to look to find how to do everything, and why, maybe an article explaining the architecture of the control and how to work with it in general.

4).  How would I customize the input of a new appointment.  For instance, I would want the user to be able to select from a drop down list of attendees from my database, he would be able to choose an attendee from a list.  Also, would be able to choose from another drop down list the reason for the appointment.  There may be some other data points as well, such as additional notes & description, in addition to the title and all other datapoints that come default with an appointment.  How would I go about implementing this functionality?  Do I add combo boxes to the insertTemplate, or the AdvancedInsertTemplate?  Are there any walkthroughs or demos for customizing this part?

5).  For instance, I see that there's an Appointment business object that represents each entry on the grid.  But this BO is fixed and doesn't have things like an ID for the user attending and an ID for the appointment reason (or whatever custom data we want to track). When we create a custom appointment with our custom template and the user chooses from these two drop-downs and the RadScheduler_AppointmentCreated event is fired it delivers an AppointmentCreatedEventArgs e that has an e.Appointment object that wouldn't tell us anything about these extra datapoints.  How do we get around this?

Thank you to anyone who is able to steer me in the right direction for any of these questions.

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 01 Apr 2011, 12:02 PM
Hello Calvin,

1) I didn't understood your question. Which animations do you want to include? Could you please explain more on the requirement or send me a sample picture?

2) As our documentattion is a little bit old at this moment - we are updating it and it will go live soon. However there is a very good article on the theme for Resources. Please take a look at this help article and also this demo for defining resources.

3) To be able to add combo with attendeed to the advanced form - you can use Resources for this purpose as they are rendered as a RadComboBox. Please see the demo in point 2) for an example. As for the description - there is a EnableDescriptionField property which can be added to the advanced form. The description represents a multi-line textbox where addional information for each appointment can be added. Please take a look at this help article for an example.

4) Could you please be more specific on what properties of the Appointment do you want to get in the OnAppointmentCreated event? Could you please show me the demo you are referrencing from the Grid so I can tell you what are the alternatives for the Appointments.

Regards,
Veronica Milcheva
the Telerik team
0
Calvin
Top achievements
Rank 1
answered on 07 Apr 2011, 09:37 PM
Thanks for the reply.
In response to 4.):

I want to add custom properties to the Appointment Business Object.  Each entry on the scheduler is controlled by an Appointment object in the namespace: Telerik.Web.UI.Appointment.

This object doesn't have anything for say: RoomId, Attendee1Id, Attendee2Id, AdditionalNotes, or say IntermissionDateTime.  To overcome this the demo I've looked over shows how to create an AppointmentInfo object and Find it by Id from the Appointment source.  What I want to know is:
1. How do I create a custom Insert form so that I can gather the extra pieces of information.
2. How do I access this custom data in the OnAppointmentCreated or OnAppointmentInsert or whatever so that I can associate it with my custom AppointmentInfo business object...?  Because the value passed in
Scheduler_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) 
e.Appointment only has basic values and wouldn't have any of my custom values ...

*sigh* are there no walkthroughs about creating a custom insert page interface design thing?

0
Veronica
Telerik team
answered on 10 Apr 2011, 07:34 AM
Hi Calvin,



1) You need to use the InlineInsertTemplate or the AdvancedInsertTemplate to be able to customize the insert form. Please take a look at this demo for an example.

2) In the OnAppointmentInsert and OnAppointmentUpdate events you need to operate with the AppointmentInfo object, thus you need to work with the constructor of the AppointmentInfo class. Please take a look at this help article and let me know if you have further qustions. 



Regards,

Veronica Milcheva

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