Hello Telerik Team,
I want to get end date and start date from javascript of recurrence Editor / Rad Scheduler Control
i read the client side documentation but didn't got anything that fits in it so will u please gave us an example
of that Control. Urgent Response Will be Appreciated.
Regards
I want to get end date and start date from javascript of recurrence Editor / Rad Scheduler Control
i read the client side documentation but didn't got anything that fits in it so will u please gave us an example
of that Control. Urgent Response Will be Appreciated.
Regards
6 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 29 Mar 2012, 02:59 PM
Hi Saad,
You can set enddate and startdate as follows.
JS:
For more information take a look into the following documentation.
SchedulerAppointment
Thanks,
-Shinu.
You can set enddate and startdate as follows.
JS:
<script type="text/javascript">function OnClientClick() { var RadScheduler = $find("<%= RadScheduler1.ClientID %>"); alert(RadScheduler.get_appointments().getAppointment(0).get_start()); alert(RadScheduler.get_appointments().getAppointment(0).get_end()); }</script>For more information take a look into the following documentation.
SchedulerAppointment
Thanks,
-Shinu.
0
saad
Top achievements
Rank 1
answered on 29 Mar 2012, 04:14 PM
<telerik:RadSchedulerRecurrenceEditor Width="550px" runat="server" ID="RadSchedulerRecurrenceEditor1"></telerik:RadSchedulerRecurrenceEditor></br><INPUT TYPE=BUTTON OnClick="checkDateValidation();" VALUE="Check"><script type="text/javascript"> function checkDateValidation() { var RadScheduler = $find("<%= RadSchedulerRecurrenceEditor1.ClientID %>"); alert(RadScheduler.get_appointments().getAppointment(0).get_start()); alert(RadScheduler.get_appointments().getAppointment(0).get_end()); }</script>0
saad
Top achievements
Rank 1
answered on 29 Mar 2012, 04:14 PM
Not Working !!
0
Shinu
Top achievements
Rank 2
answered on 30 Mar 2012, 05:12 AM
Hi Saad,
You can set enddate and startdate of RadSchedulerRecurrenceEditor as follows.
ASPX:
JS:
Thanks,
-Shinu.
You can set enddate and startdate of RadSchedulerRecurrenceEditor as follows.
ASPX:
<telerik:RadSchedulerRecurrenceEditor ID="RadSchedulerRecurrenceEditor1" runat="server"></telerik:RadSchedulerRecurrenceEditor>JS:
<script type="text/javascript"> function OnClientClick() { var RadScheduler1 = $find("<%= RadSchedulerRecurrenceEditor1.ClientID %>"); alert(RadScheduler1.get_startDate()); alert(RadScheduler1.get_endDate()); }</script>Thanks,
-Shinu.
0
saad
Top achievements
Rank 1
answered on 30 Mar 2012, 01:41 PM
Hello Telerik Team,
i want to access the end by date too how can i access it.
thanks 4 your reply
regard
i want to access the end by date too how can i access it.
thanks 4 your reply
regard
0
Shinu
Top achievements
Rank 2
answered on 02 Apr 2012, 06:30 AM
Hi Saad,
Try the following code to achieve your scenario.
JS:
Thanks,
-Shinu.
Try the following code to achieve your scenario.
JS:
<script type="text/javascript">function OnClientClick() { var RadScheduler1 = $find("<%= RadSchedulerRecurrenceEditor1.ClientID %>"); alert(RadScheduler1._getRange().get_recursUntil()); }</script>Thanks,
-Shinu.