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

Setting DateStart and DateEnd in Custom Appointment Dialog

2 Answers 40 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 15 Mar 2011, 02:22 PM
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 Answers, 1 is accepted

Sort by
0
Brandon
Top achievements
Rank 1
answered on 16 Mar 2011, 01:05 PM
Can anyone help with this???
0
Dobry Zranchev
Telerik team
answered on 18 Mar 2011, 10:01 AM
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)
{
    base.ApplySettingsToEvent(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!
Tags
Scheduler and Reminder
Asked by
Brandon
Top achievements
Rank 1
Answers by
Brandon
Top achievements
Rank 1
Dobry Zranchev
Telerik team
Share this question
or