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

Add new combobox to editAppointmentDialog

1 Answer 49 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Phillip Foster
Top achievements
Rank 1
Phillip Foster asked on 07 Jul 2010, 04:02 PM
Ok, i've watched the training video and read several posts on this forum. and I don't exactly get how to do this.

I can add a simple value such as text box, checkbox, etc. But I want to add a new combo box that will contain meeting rooms available. 
So basically its replacing the Resource combobox. 
Normally I would use the datasource.ResourceProvider.Mappings and pass the ResourceMappingInfo. 

How would i populate my MeetingRooms combobox?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 12 Jul 2010, 12:16 PM
Hello Phillip Foster,

Thank you for writing. Your idea is very simple to implement. Do the following steps:
  1. Add a new class that inherits EditAppointmentDialog
  2. Set the resources combo to invisible.
  3. Add the new control that you want
  4. Override the LoadSettingsFromEvent and ApplySettingsToEvent methods in this class
  5. Feed your control and store the value of the resource property of the event in the overridden methods
  6. Add your meetings rooms to the scheduler resources list.
  7. Replace the default EditAppointmentDialog with the custom one
As to the mapping of the resources just review the scheduler documentation.

If you have additional questions feel free to write back.

Kind regards,
Dobry Zranchev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Phillip Foster
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or