select

Scheduler / Drag-and-drop

Rate this demo: Feedback
Run example in: C# VB.NET

previous daynext daytoday

Select date
<<<March 2010>>>
SMTWTFS
 123456
78910111213
14151617181920
21222324252627
28293031   
       

Tuesday, March 16, 2010

all day
8AM
 
9AM
 
10AM
 
11AM
 
12PM
 
1PM
 
2PM
 
3PM
 
4PM
 
5PM
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
TaskDue Date Priority
Add new task   
Take the car to the service 1/26/2009 High
Pick up the kids from school 1/26/2009 Medium
Buy present for Charlie 1/26/2009 Low
Take the dog to the vet 1/26/2009 Medium
Note: The changes in the data will be persisted per Session only. The data will be reset next time you visit the page.

Example Source Code & Description

Instructions
Open in new window
  • This example demonstrates how to implement drag-and-drop support from RadGrid to RadScheduler.

    When a task is dragged from RadGrid to RadScheduler, the time slot which will receive the appointment is highlighted. After the task is dropped, it appears in RadScheduler as an appointment, but it is removed from the grid. This is achieved by updating the data sources of both controls and refreshing them with a call to the Rebind() method.

    Clicking the Unschedule button (implemented via AppointmentTemplate) removes the appointment and sends it back to the task list of the grid. In contrast, deleting an appointment removes the appointemnt altogether - both from the scheduler and the grid.

Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us