Add new combobox to editAppointmentDialog

2 posts, 0 answers
  1. Phillip Foster
    Phillip Foster avatar
    58 posts
    Member since:
    Apr 2010

    Posted 07 Jul 2010 Link to this post

    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!
  2. Dobry Zranchev
    Dobry Zranchev avatar
    353 posts

    Posted 12 Jul 2010 Link to this post

    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
Back to Top