Drag-n-Drop client side is not keeping HTML elements

2 posts, 0 answers
  1. Aaron Gibbs
    Aaron Gibbs avatar
    23 posts
    Member since:
    Dec 2007

    Posted 16 Mar 2011 Link to this post

    Good afternoon,

    I have a RadTreeView in which I am using code similar to the Drag-n-Drop demo to do client-side rearranging of nodes.

    The treeview is initially populated in the code-behind with values from a database in Page_Init, with each node containing different controls and text (imagebuttons, hyperlinks, etc.) based on database values.

    Using the code from the demo, the drag-n-drop functionality works great, but the node appears to be losing its controls collection after the drop.  Source node is moved to destination OK, but after the move, node contains only the text and not the controls that existed in the source.

    What do I need to do to ensure the node's control's innerHTML is kept?
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 18 Mar 2011 Link to this post

    Hi Aaron Gibbs,

    Basically you can see that in the drag-and-drop demo when you drag a node and drop it - it persists it's image. That's why I am interested how did you perform the drag&drop in your project. Could you please send me a sample project so I can inspect it and help you?

    Thank you!

    Best wishes,
    Veronica Milcheva
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top