Change Title in Edit Appointment Dialog

2 posts, 0 answers
  1. Brad
    Brad avatar
    1 posts
    Member since:
    Jun 2011

    Posted 13 Jan 2012 Link to this post

    How do you change the title of the Edit Appointment Dialog that appears on double-click of a Schedule View?
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Jan 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top