Drag&Drop with dynamic events
Asked by Kevin 14 years ago.
I tested you you feature Drag&Drop from external resource. With your demos it works fine. I also tested it with an asp.net label in a ul and it works too.
After that I wanted to get dynamic external resources. I tried a data grid with a column for the dragable control (a asp.net label), but it doesn't work. Maybe I made a mistake ore it doens't work with dynamic resources. The grid looks like this:
asp:DataGrid Colums asp:TemplatColumns ItemTemplate asp:Label id="lblDragExt" runat="server" onmousedown=''return DayPilotSchedular.dragStart(this.parentNode, 60*<%# DataBinder.Eval(Container.DataItem, "RANGE") %>, "<%# DataBinder.Eval(Container.DataItem, "ID") %>", "<%# DataBinder.Eval(Container.DataItem, "NAME") %> ")' unselectable='on' style...
Hope you can help me.
If something isn't clear, just say.