Setting DateStart and DateEnd in Custom Appointment Dialog

3 posts, 0 answers
  1. Brandon
    Brandon avatar
    30 posts
    Member since:
    Nov 2010

    Posted 15 Mar 2011 Link to this post

    Hey I'm trying to set the dates in my custom Appointment Dialog but it's not working. ;(

    I have an option that launches the Custom Dialog when the user right clicks on a date in the scheduler.
    I'm wanting to display that selected date as the DateStart and DateEnd in my Custom Dialog.

    Please Help!
  2. Brandon
    Brandon avatar
    30 posts
    Member since:
    Nov 2010

    Posted 16 Mar 2011 Link to this post

    Can anyone help with this???
  3. DevCraft R3 2016 release webinar banner
  4. Dobry Zranchev
    Dobry Zranchev avatar
    348 posts

    Posted 18 Mar 2011 Link to this post

    Hello Brandon,

    Thank you for writing.

    If I understand, you have a custom EditAppointmentDialog which inherits the base one. In this case if you what to apply your custom dates to the appointment when the dialog is closing, you should to override the method ApplySettingsToEvent. Call the base method and do the necessary modifications after that.
    protected override void ApplySettingsToEvent(IEvent targetEvent)
        //update the appointment settings here

    In case you want us to provide you with a quicker response, please open a new support ticket instead of forum threads. Support tickets are reviewed and handled according to the license that you have.

    If you have additional questions, feel free to contact us.

    Kind regards,
    Dobry Zranchev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top