Hello,
I am trying to change the text of the buttons inside the popup, but nothing I have tried works. My version is Q1 2011.
I tell you what I have tried:
1.- Setting the properties in design mode:
<telerik:RadMonthYearPicker ID="rmypMesDeCierre" runat="server" Width="150px" Culture="Spanish (Spain)">
<MonthYearNavigationSettings OkButtonCaption="Ok" CancelButtonCaption="Cancelar" TodayButtonCaption="Hoy" />
</telerik:RadMonthYearPicker>
2.- Setting on server side at run time:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.rmypMesDeCierre.MonthYearNavigationSettings.TodayButtonCaption = "Hoy"
Me.rmypMesDeCierre.MonthYearNavigationSettings.CancelButtonCaption = "Cancelar"
End Sub
3.- Setting on client load event:
function page_load() {
var m = $find("<%= rmypMesDeCierre.ClientID %>");
var m2 = m.get_monthYearNavigationSettings();
m2[0] = 'Hoy';
m.set_monthYearNavigationSettings(m2);
}
Sys.Application.add_load(page_load);
Could you help me?
Thanks in advance.
I am trying to change the text of the buttons inside the popup, but nothing I have tried works. My version is Q1 2011.
I tell you what I have tried:
1.- Setting the properties in design mode:
<telerik:RadMonthYearPicker ID="rmypMesDeCierre" runat="server" Width="150px" Culture="Spanish (Spain)">
<MonthYearNavigationSettings OkButtonCaption="Ok" CancelButtonCaption="Cancelar" TodayButtonCaption="Hoy" />
</telerik:RadMonthYearPicker>
2.- Setting on server side at run time:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.rmypMesDeCierre.MonthYearNavigationSettings.TodayButtonCaption = "Hoy"
Me.rmypMesDeCierre.MonthYearNavigationSettings.CancelButtonCaption = "Cancelar"
End Sub
3.- Setting on client load event:
function page_load() {
var m = $find("<%= rmypMesDeCierre.ClientID %>");
var m2 = m.get_monthYearNavigationSettings();
m2[0] = 'Hoy';
m.set_monthYearNavigationSettings(m2);
}
Sys.Application.add_load(page_load);
Could you help me?
Thanks in advance.