Welcome Guest Search | Active Topics | Sign In | Register

Possible to implement JQuery type drag and drop with EoWeb controls?s? Options
Hub
Posted: Monday, February 13, 2012 5:36:29 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

I am investigating the possibility of implementing drag and drop functionality with eoWeb controls. Say for example using JQuery to select a cell from grid and dragging it into a drop area elsewhere in the web app. Is it possible? Have you seen that done (examples?). If yes, how can I reference an ASP control embedded in a custom item (of a grid for example) from a JQuery function?

Thanks.
H
eo_support
Posted: Monday, February 13, 2012 5:42:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can probably do it but there is no server control for you to reference on from your JQuery. An ASP.NET control is embedded in the custom item's EditorTemplate only. The EditorTemplate is only active when the cell is in editing mode and a single instance is shared between all cells for that column because at any time only one cell for a column will be in edit mode. So that makes it pointless for drag and drop purpose.

Thanks!
Hub
Posted: Monday, February 13, 2012 5:53:30 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
I see. You are right, my example does not make sense.
Would there be a possibility to select a grid Item and apply the dragging to that, or for that matter to a particular node in a treenode for example?
Hub
Posted: Tuesday, February 14, 2012 7:58:07 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

Please disregard this thread. The drag and drop functionality I was talking about has nothing to do with EO controls and can be done with a standard Jquery implementation, updating a Div with whatever information gathered from Eo control events such as OnItemClick and then making that div the draggable object.

Apologies for the distraction.
H
eo_support
Posted: Tuesday, February 14, 2012 9:38:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
OK. Thanks for the update.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.