Drag and drop RadGrid row onto RadCalendar day to set row date

2 posts, 0 answers
  1. Nick
    Nick avatar
    1 posts
    Member since:
    Jan 2012

    Posted 11 Jul 2013 Link to this post


    I would like to know if it is possible to drag a row from a RadGrid onto a RadCalendar date, determine which date the row was dropped on, and then update the RadGrid data item with that date.  I have not been able to find a demo or example of this, and my preliminary efforts have not worked at all.  Using the client-side get_destinationHtmlElement method does not return the element/date the row was dropped on.

    I can accomplish this with the RadScheduler, but not the RadCalendar.    Any help would be appreciated.
  2. Angel Petrov
    Angel Petrov avatar
    1002 posts

    Posted 16 Jul 2013 Link to this post

    Hi Nick,

    Actually you should be able to reference the HTML element over which the drop has occurred. As you can see from the attached sample once a grid row is dropped over a date an alert pops-up. Note that in order to update the grid data items you should fire an AJAX request, modify the grid's data source and rebind it.

    Angel Petrov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top