Localization of FastNavigationSettings of SelectedDateCalendar in RadScheduler

2 posts, 0 answers
  1. Abhishek Dixit
    Abhishek Dixit avatar
    43 posts
    Member since:
    Mar 2009

    Posted 04 Sep 2009 Link to this post

    Hello Telerik Team,

     I want to localize the  FastNavigationSettings(Today,OK,Cancel) buttons of 'SelectedDateCalendar' present in the RadScheduler1. I have used the following code to do so inside my Page_Load event everytime:

     

     

     

    RadCalendar popupCalendar = RadScheduler1.FindControl("SelectedDateCalendar") as RadCalendar;

     

     

    // Set the RadCalendar properties

     

     

     

    popupCalendar.CultureInfo = System.Threading.Thread.CurrentThread.CurrentUICulture;

     

    popupCalendar.FastNavigationSettings.CancelButtonCaption = GetResourceString(

    "Global_Confirm_CancelText");

     

    popupCalendar.FastNavigationSettings.TodayButtonCaption = GetResourceString(

    "Schedule_CalendarView_Today");

     

    popupCalendar.FastNavigationSettings.OkButtonCaption = GetResourceString(

    "Global_Confirm_OkText");

     

     

    This works the first time user visits the FastNavigationkeys. But when user selects any other date, and again visits the 'SelectedDateCalendar' the FastNavigationkeys are not localized - they appear in English.

    Please let me know how to fix this.

    Also, to localize the entire RadScheduler, I have used the following code:

     

    RadScheduler1.Culture = System.Threading.

    Thread.CurrentThread.CurrentUICulture;

    Regards,
    Abhishek

     

  2. Abhishek Dixit
    Abhishek Dixit avatar
    43 posts
    Member since:
    Mar 2009

    Posted 07 Sep 2009 Link to this post

    Hello,
     I have posted this same query in the Scheduler forum. So please ignore this query here.

    Abhishek
Back to Top