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

How we can change the "start time" label to "start date" in new appointment popup

1 Answer 19 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ano
Top achievements
Rank 1
Ano asked on 05 Sep 2012, 11:03 AM
How we can change the "start time" label text to "start date" in new appointment popup of rad scheduler

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 06 Sep 2012, 07:31 AM
Hello Ano,

This piece of JavaScript code that you will found below is working fine on each appointment insert and update. 

your aspx file
<telerik:RadScheduler runat="server" ID="RadScheduler1"  OnClientFormCreated="RadScheduler1_OnClientFormCreated">         
</telerik:RadScheduler>

and your JavaScript code

function RadScheduler1_OnClientFormCreated(sender, eventArgs) {
               var $ = $telerik.$;
               var mode = eventArgs.get_mode();
               if (mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert ||
                   mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {
               $('.rsTimePick > label').text("Start date");
             }
            }

I hope this will be helpful.


Regards,
Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Ano
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or