
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
Hi!
I have a problem in IE7 when adding new items on client. After i add the item from client, i am not able to select it in IE7 by hovering mouse over it and clicking. It is not even highlighted. It can be selected only when mouse hovers the text of the item, but not the full item. In Firefox, Opera, IE8 everything works fine. Please, give me some advice to solve the problem.
My code is very easy:
| <telerik:RadComboBox ID="testCombo" runat="server"> | |
| </telerik:RadComboBox> | |
| <button onclick="addItem();return false;">Add item</button> | |
| <script type="text/javascript"> | |
| function addItem() | |
| { | |
| var combo = $find('<%= testCombo.ClientID %>'); | |
| var comboItem = new Telerik.Web.UI.RadComboBoxItem(); | |
| comboItem.set_value("Test"); | |
| comboItem.set_text("Test"); | |
| combo.get_items().add(comboItem); | |
| } | |
| </script> |