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

Localization and sort order of comboboxes

2 Answers 37 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Ramius
Top achievements
Rank 1
Ramius asked on 18 Nov 2009, 08:32 AM

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

Sort by
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.

All the best,
Boyko Markov
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
Ramius
Top achievements
Rank 1
answered on 23 Nov 2009, 09:55 PM

Hi Boyko,

thank you for your help. 

It works fine now.

Greetings,

Ramius

Tags
Scheduler and Reminder
Asked by
Ramius
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Ramius
Top achievements
Rank 1
Share this question
or