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.