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

Change Title in Edit Appointment Dialog

1 Answer 109 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 13 Jan 2012, 07:28 PM
How do you change the title of the Edit Appointment Dialog that appears on double-click of a Schedule View?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Jan 2012, 03:00 PM
Hello Brad,

The title of the EditAppointmentDialog is localized, so you can create a custom LocalizationManager and set a different string to the "Appointment" key:

public class CustomLocalizationManager : LocalizationManager
{
    public override string GetStringOverride(string key)
    {
        switch (key)
        {
            case "Appointment":
                return "Tested Appointment";       
                 
        }
        return base.GetStringOverride(key);
    }
}

The CustomLocalizationManager should be set before InitializeComponent method:

public MainWindow()
{
    LocalizationManager.Manager = new CustomLocalizationManager();
    InitializeComponent();
}

More information about localization of RadScheduleView can be found here.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Brad
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or