3 Answers, 1 is accepted
0
Hi TS,
Thank you for writing.
There are two ways to do this, depending of how you start this dialog. If you open the dialog from code you could use the following code snippet:
In the other case you should inherit EditAppointmentDialog and set the subject field's text. Please, note that you need to know whether the appointment is new or it is in edit mode in order to write/override the subject. After that you could replace edit appointment dialog as described in the scheduler help.
I hope this will help you. Feel free to contact me for further questions.
All the best,
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.
Thank you for writing.
There are two ways to do this, depending of how you start this dialog. If you open the dialog from code you could use the following code snippet:
new
EditAppointmentDialog(
new
Appointment(DateTime.Now,
new
TimeSpan(1,0,0),
"your subject write here"
),
this
.radScheduler1).Show();
In the other case you should inherit EditAppointmentDialog and set the subject field's text. Please, note that you need to know whether the appointment is new or it is in edit mode in order to write/override the subject. After that you could replace edit appointment dialog as described in the scheduler help.
I hope this will help you. Feel free to contact me for further questions.
All the best,
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.
0
Mike
Top achievements
Rank 1
answered on 10 Sep 2010, 12:41 AM
how do you determine if the appointment is new or in edit mode? Is this condition tested in the
RadScheduler1_AppointmentEditDialogShowing event?
0
Hello Mike,
Thank you for writing back.
The idea of the dialog is to only manipulate appointments that you assign to it. The EditAppointmentDialog edits appointments regardless of whether the appointment is a new one, or an existing one. You just need to know which appointment you are trying to edit (new or existing).
If you have other questions, feel free to contact us.
Best wishes,
Dobry Zranchev
the Telerik team
Thank you for writing back.
The idea of the dialog is to only manipulate appointments that you assign to it. The EditAppointmentDialog edits appointments regardless of whether the appointment is a new one, or an existing one. You just need to know which appointment you are trying to edit (new or existing).
If you have other questions, feel free to contact us.
Best wishes,
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