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

Scheduler Localize Text

1 Answer 51 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 08 Dec 2010, 08:27 PM
I need to localize "all day" and "Show 24 hours..." in the scheduler.

For "all day" I added the localization tag below. For "Show 24 hours..." I figured this line of code would do it. What am I missing?

rsScheduler.Localization.Show24Hours = (

 

string)_Master.m_FormLabels["Show 24 hours..."];

 



 

 

<telerik:RadScheduler ID="rsScheduler" runat="server" Skin="Office2009" EnableEmbeddedSkins="false"

 

 

 

DataKeyField="RecordID" DataStartField="StartDate" DataEndField="EndDate" DataSubjectField="Name"

 

 

 

Height="100%" Width="100%" OnNavigationCommand="rsScheduler_OnNavigationCommand" OnAppointmentDataBound="rsScheduler_AppointmentDataBound"

 

 

 

OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientAppointmentInserting="OnClientAppointmentInserting" OnClientAppointmentCreated="OnClientAppointmentCreated" AllowDelete="false" AllowEdit="false" ShowDateHeaders="True" ShowNavigationPane="True" BorderStyle="NotSet" OverflowBehavior="Scroll">

 

 

 

<Localization AdvancedAllDayEvent="All day"></Localization>

 

 

 

<AppointmentTemplate>

 

 

 

<div class="rsAptContent"><img id="imgAppt" src="<%# Eval("Attributes[\"IconUrl\"]") %>" />&nbsp;<%# Eval("Subject") %></div>

 

 

 

</AppointmentTemplate>

 

 

 

</telerik:RadScheduler>

 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Dec 2010, 08:06 AM
Hi Greg,


In which event did you try the code? I tried the code for setting "Localization" in "RadScheduler1_Init" and that worked well for me.


-Shinu.
Tags
Scheduler
Asked by
Greg
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or