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

Pop up on Drag and Drop

2 Answers 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 2
Alex asked on 04 May 2011, 12:23 AM
I've run out of ideas on how to do this so I'm hoping one of you will give me an idea.

What I'm trying to do, at the request of our user community, is have a popup open when a user drags/drop a row so they can enter some information.

I'm using jQuery and some jQuery plug-ins in trying to accomplish this, everything works independently but when I try to incorporate it with the drap event it doesn't work.

I've tried squirting the javascript at the end of the rowdrop event of the grid and it does trigger my javascript and I've traced it and it should popup my window but it doesn't, I suspect that the javascript is being triggered at the wrong time in the sequence of events.

Any help would be appreciated.

All I need is a popup with a text area and a OK/Cancel that is triggered at the end of the dropping of a row.

Thanks

2 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 09 May 2011, 10:26 AM
Hi Alex,

Try to run your JavaScript on OnRowDropping event like in this online demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx
In the demo you can drag a row into the second grid and then drag the row to the "Recycle Bin" bellow the grids. Then you will see OK/Cancel alert for deleting the record. I believe it is just the same scenario that you are trying to achieve.

Kind regards,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Alex
Top achievements
Rank 2
answered on 20 May 2011, 04:26 PM
Thanks for the example, I was able to achieve what I wanted another way.
Tags
Grid
Asked by
Alex
Top achievements
Rank 2
Answers by
Vasil
Telerik team
Alex
Top achievements
Rank 2
Share this question
or