HI,
I wanted to change the Edit Appointment Dialog window labels and dropdownlist values.
For example - Insted if "Subject label" i want to display "Patient Name" and i want to change Dropdownlist values?
1) I have followed the below step but not possible to change the label text but i can do the label visible false or true.
2) How to change the Dropdownlist vaues?
3) How to add one more dropdownlist inside the Edit Appointment Dialog Window?
CODE:
I wanted to change the Edit Appointment Dialog window labels and dropdownlist values.
For example - Insted if "Subject label" i want to display "Patient Name" and i want to change Dropdownlist values?
1) I have followed the below step but not possible to change the label text but i can do the label visible false or true.
2) How to change the Dropdownlist vaues?
3) How to add one more dropdownlist inside the Edit Appointment Dialog Window?
CODE:
CustomAppointmentDialog
appointmentDialog = null;
private void radSchedulerDemo_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
{
if (this.appointmentDialog == null)
{
this.appointmentDialog = new CustomAppointmentDialog();
}
e.AppointmentEditDialog =
this.appointmentDialog;
}
public class CustomAppointmentDialog : EditAppointmentDialog
{
public CustomAppointmentDialog()
:
base()
{
this.Controls["lblSubject"].Text = "Patient";
}
}
7 Answers, 1 is accepted
0
Hi Mahesh,
You can do this by inheriting from the default appointment edit dialog, making any changes that you want, and then telling RadScheduler to use your custom dialog using the AppointmentEditDialogShowing event.
Once you have inherited from the default dialog you will be able to access the editor controls through the protected fields. And the labels you will be able to access through the controls collection.
Or if all you want is to change the text properties of the labels you could create a very simple localization provider.
You can find an example for all this in the following forum thread:
http://www.telerik.com/community/forums/winforms/scheduler/edit-appointment-dialogue.aspx
Regarding the values in the combo boxes, you can change the items in the Backgrounds, Statuses and Resources collections of RadScheduler.
Do write back if you need more information or have more questions.
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
You can do this by inheriting from the default appointment edit dialog, making any changes that you want, and then telling RadScheduler to use your custom dialog using the AppointmentEditDialogShowing event.
Once you have inherited from the default dialog you will be able to access the editor controls through the protected fields. And the labels you will be able to access through the controls collection.
Or if all you want is to change the text properties of the labels you could create a very simple localization provider.
You can find an example for all this in the following forum thread:
http://www.telerik.com/community/forums/winforms/scheduler/edit-appointment-dialogue.aspx
Regarding the values in the combo boxes, you can change the items in the Backgrounds, Statuses and Resources collections of RadScheduler.
Do write back if you need more information or have more questions.
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Will
Top achievements
Rank 1
answered on 16 Oct 2009, 11:26 PM
I would like to do the same things as this person, but the examples on this thread http://www.telerik.com/community/forums/winforms/scheduler/edit-appointment-dialogue.aspx are all in C# and i'm using VB.Net... any help?
Im using VS2008 VB.net (C# is not an option at this point or i would have been done days ago)
I am using RadScheduler and i want to add some options to it (such as client being booked, ane employee being booked. I have successfully inherited the edit appointments form, i think, but its empty. No controls are on the form.
Thank you
-AC
Im using VS2008 VB.net (C# is not an option at this point or i would have been done days ago)
I am using RadScheduler and i want to add some options to it (such as client being booked, ane employee being booked. I have successfully inherited the edit appointments form, i think, but its empty. No controls are on the form.
Thank you
-AC
0
Hi Will H,
Did you try using our code converter to convert the code to VB.NET:
http://converter.telerik.com/
Also, there is an example of inheriting the default appointment edit dialog and adding more details in the data binding example of RadScheduler (in our Demo application).
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Did you try using our code converter to convert the code to VB.NET:
http://converter.telerik.com/
Also, there is an example of inheriting the default appointment edit dialog and adding more details in the data binding example of RadScheduler (in our Demo application).
Greetings,
Jordan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
alexander arias
Top achievements
Rank 1
answered on 14 Jun 2010, 04:26 PM
Hi, I followed steps you wrote above and I got a editAppointmentDialog with all controls blocked... so I need to build my own form. I mean change txtSubject by a dropdownlist and show a list of subjects... remove resources options... so how can I do that??? please help me!!!
0
Hello alexander arias,
Please follow the instructions in the custom EditAppointmentDialog's help topic.
You could also inherit the EditAppointmentDialog, hide the txtSubject field, add your dropdown and override the EditAppointmentDialog methods LoadSettingsFromEvent and ApplySettingsToEvent in order to read from appointment to your dropdown and write to appointment from your dropdown.
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.
Please follow the instructions in the custom EditAppointmentDialog's help topic.
You could also inherit the EditAppointmentDialog, hide the txtSubject field, add your dropdown and override the EditAppointmentDialog methods LoadSettingsFromEvent and ApplySettingsToEvent in order to read from appointment to your dropdown and write to appointment from your dropdown.
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.
0
illumination
Top achievements
Rank 2
answered on 27 Sep 2011, 03:27 PM
The link is no longer work. I need to make the subject from text to rad combobox for edit and insert. I'm currently using Advanced form template to achieve all the information in radscheduler. And I'm using asp.net ajax for webform, not winform. Please help. Thanks.
0
Hello Lina,
We have recently created a new chapter on customizing the advanced form. Please, review it and let us know if it helped you with your task. We will also appreciate if you provide us with feedback and suggestions on how to improve the help resource.
All the best,
Peter
the Telerik team
We have recently created a new chapter on customizing the advanced form. Please, review it and let us know if it helped you with your task. We will also appreciate if you provide us with feedback and suggestions on how to improve the help resource.
All the best,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now