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

[Solved] invoking insert appointment dialog

1 Answer 104 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
kailas taer
Top achievements
Rank 1
kailas taer asked on 17 Sep 2009, 05:54 PM

On my web page i have a telerik calendar and also an create appointment button. when user clicks on insert appointment button, i want to show the insert appointment dialog directly. i know that you have a method showInsertFormAt() with timeslot parameter. However from my client side button click event, i cannot seem to create timeslot object. i tried using

 

 

<script type="text/javascript">

 

function

 

btn_click()

 

{

 

var schedulerPopupCalendar = $find('<%= radScheduler1.ClientID %>');

 

 

var

 

timeslot = new Telerik.Web.UI.TimeSlot(); \\ i get error here.

 

schedulerPopupCalendar.showInsertFormAt(timeslot); 

 

}

but this Telerik.Web.UI.TimeSlot() object does not exist.

I will appreciate the help.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Sep 2009, 01:28 PM
Hello kailas,

Thank you for this question. Unfortunately, RadScheduler does not suppor this functionality, since there isn't a way to create a time slot client object from a Date obect. The closes that you can get to the desired functionality is to show the inline insert form on click of a time slot, as described in this help topic:
http://www.telerik.com/help/aspnet-ajax/scheduler-edit-insert-appointment-single-click.html


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
kailas taer
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or