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
890
Not getting a DragOver event using a programmatically created UltraTree
posted
I've converted the infragistics "UltraTree Drag and Drop VB" sample code to use a programmatically created UltraTree instead of a design-time UltraTree (to match what I'm trying to achieve in my own code). Yes, I've set up the various UltraTree event handlers using "AddHandler".

Now, having done this, I get my "UltraTree1_SelectionDragStart" event, but that's it - I do NOT get a "UltraTree1_DragOver" event, nor any of the others.

My question: Is it possible to get UltraTree drag drop functionality working when the UltraTree has been created at runtime rather than design time? If so, how? If not, why not?

Any information regarding this matter will be appreciated.

Regards,

Scott Pearce
  • 69832
    Offline posted

    Assuming you called DoDragDrop from the SelectionDragStart event, that should work. If you like you can attach a sample project to this article and we can try to figure out what is going on there.