How can I stop timer(in other words stop browser refresh/page refresh), while dragging a task from RadGrid to RadScheduler and how can I start timer(in other words start browser refresh/page refresh), after the task is dropped.
My drag and drop is similar to this demo
http://demos.telerik.com/aspnet-ajax/scheduler/examples/draganddropintegration/defaultcs.aspx?product=scheduler
This is my code for RadScheduler:
<telerik:RadScheduler ID="rsTicketsSchedule" runat="server" AllowInsert="False" DisplayDeleteConfirmation="False"
Localization-HeaderToday="Today" EnableCustomAttributeEditing="True" EnableDescriptionField="True"
Height="100%" EnableExactTimeRendering="true" EnableViewState="true" OverflowBehavior="Scroll"
ShowAllDayRow="false" OnAppointmentDataBound="TicketsSchedule_AppointmentDataBound"
OnNavigationComplete="rsTicketsSchedule_NavigationComplete" OnNavigationCommand="rsTicketsSchedule_NavigationCommand"
OnTimeSlotCreated="rsTicketsSchedule_TimeSlotCreated" OnAppointmentUpdate="onApptUpdate"
OnClientAppointmentDoubleClick="rsClientAppointmentDoubleClick" OnClientAppointmentClick="singleClick"
OnClientAppointmentContextMenu="CheckTimerStatus" OnClientAppointmentContextMenuItemClicked="handleClick"
OnClientFormCreated="ClientFormCreated" OnDataBound="rsTicketsSchedule_DataBound"
OnClientAppointmentMoveEnd="AppointmentMoved" OnClientAppointmentDeleting="OnClientAppointmentDeleting"
OnClientAppointmentMoveStart="StopTimer"
CustomAttributeNames="HasAttachment" DataReminderField="Reminder" OnClientAppointmentEditing= "StopTimer" >
<AppointmentTemplate>
<div>
<asp:Panel ID="RecurrencePanel" CssClass="rsAptRecurrence" runat="server" Visible="false" />
<asp:Panel ID="RecurrenceExceptionPanel" CssClass="rsAptRecurrenceException" runat="server"
Visible="false" />
<%-- <asp:Panel ID="ReminderPanel" CssClass="rsAptReminder" runat="server" Visible="true" />--%>
<div id="ApptImageDiv" style="text-align:right; position:absolute; width:95%;" >
<asp:Image ID="ApptAttachmentImg" runat="server" Width="16px" Height="17px" style=" margin-right:5px; background:url(img/sprite-alpha.png)-166px -34px no-repeat; background-position: -98px -66px; border:transparent; "
Visible='<%# String.IsNullOrEmpty(Container.Appointment.Attributes["HasAttachment"])? false : Boolean.Parse(Container.Appointment.Attributes["HasAttachment"]) %>'
/>
</div>
<%#Eval("Subject") %>
</div>
</AppointmentTemplate >
<AppointmentContextMenus >
</AppointmentContextMenus>
<DayView UserSelectable="True" GroupBy="TechName" GroupingDirection="Horizontal" />
<WeekView UserSelectable="True" GroupBy="TechName" GroupingDirection="Vertical" />
<MonthView UserSelectable="True" GroupBy="TechName" GroupingDirection="Vertical" />
<TimelineView ColumnHeaderDateFormat="h:mm tt" GroupingDirection="Vertical" HeaderDateFormat="MM/dd/yyyy h:mm tt"
NumberOfSlots="21" SlotDuration="00:30:00" StartTime="08:00:00" />
<AdvancedForm EnableCustomAttributeEditing="True" Modal="True" />
<ResourceTypes>
<telerik:ResourceType Name="TechName" />
<telerik:ResourceType Name="TicketState" />
</ResourceTypes>
<Reminders Enabled="true"></Reminders>
</telerik:RadScheduler>
Thanks for your help in advance