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

Localization of FastNavigationSettings of SelectedDateCalendar in RadScheduler

1 Answer 40 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Abhishek Dixit
Top achievements
Rank 1
Abhishek Dixit asked on 04 Sep 2009, 07:43 AM
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

 

1 Answer, 1 is accepted

Sort by
0
Abhishek Dixit
Top achievements
Rank 1
answered on 07 Sep 2009, 05:54 AM
Hello,
 I have posted this same query in the Scheduler forum. So please ignore this query here.

Abhishek
Tags
Calendar
Asked by
Abhishek Dixit
Top achievements
Rank 1
Answers by
Abhishek Dixit
Top achievements
Rank 1
Share this question
or