I am working on a localization provider for the Radscheduler.
I have translated the values of the comboboxes but now the texts in the comboboxes are unsorted.
Is it possible to re-sort the comboboxes after applying a localization provider ?
Kind Regards,
Ramius
2 Answers, 1 is accepted
0
Boyko Markov
Telerik team
answered on 23 Nov 2009, 08:19 AM
Hi Ramius,
You can create a custom EditAppointmentDialog and use in the place of the default dialog. You can change the default dialog by handing AppointmentEditDialogShowing event. Here is a code snippet which shows how to do it:
void radScheduler1_AppointmentEditDialogShowing(object sender, Telerik.WinControls.UI.AppointmentEditDialogShowingEventArgs e)
{
if (this.appointmentEditDialog == null)
{
this.appointmentEditDialog = new CustomAppointmentEditDialog();
}
e.AppointmentEditDialog = this.appointmentEditDialog;
}
CustomAppointmentEditDialog inherits from EditAppointmentDialog and all the child controls are protected modifiers. This means that you have access to the comboboxes and you can apply sorting.
Please write me back if you need more information.