Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
633
Problem with node drag and drop
posted

 Hi!

 

I noticed a problem with the tree drag and drop behavior. If i start dragging a node by selecting it using the text and then drag it on another node then in the server side event handler i get all the data in the event arg variable.

 

However if i start dragging the node by selecting the image and not the text, then in the server side event arg, the source data variable is null.

 

Anyway to work around this?

 

Ahmad

 

  • 28464
    Verified Answer
    posted

    This could be a bug and I believe the best way to proceed in these kinds of scenarios is to contact our developer support team directly.They can be reached at:

    http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx

    If you isolate a small subset of your project reproducing the issue, it will be easier for them to provide a solution/suggestion.

    Other than that, I can suggest one workaround - place the image in the Text property of the Node. Node.Text accepts HTML, so you can use

    node.Text = "<img src='pathtoimage/image.gif'>Some Text Here";