I have a web tree in a fairly complex context that allows drag and drop.
This shares a DIV with a context menu (which can be activated by right-clicking on a node) inside a form that is 100% sized, scroll auto.
When the tree is too large for the form, we get a scroll bar as I intended.
Unfortunately:
On IE6, when you drag a node towards the bottom of the form, scrolling occurs automatically and you can drag things all the way to the bottom.
On IE8, you can drag things to the bottom of the current display, but no scrolling occurs. Why the difference, and how can I overcome it?
Hello jensfiederer,
Probably you will have to add additionl styles to the page. Could you try to add:
body { overflow-y: scroll; }
Please check the online Drag & Drop samples: Multi Tree Sample and Drag and Drop Client eventsThese samples have vertical scrollbar under IE8
The problem is not that I am not getting a scrollbar - I am.
The problem is that I would have to use it. Under IE6 the scrolling happens automatically when the object I drag is moved near the bottom of the area. Under IE8, it does not - and since I am dragging an object I can't use the scrollbar (although a mouse with a wheel works).
thank you for the clarification. This looks like a development issue. Can you tell me what version do you use so I can test this with the latest service release to check if this still exist.
Infragistics4.WebUI.Shared.v11.1, Version=11.1.20111.2020
I opened (and closed) a support case about this. It looks like this is a difference between IE6 and IE8 that affects more than just your controls (I was able to get same results using a simple DIV stuffed to overflowing with INPUT type="text" controls).
It might be a plus to address this in your controls nevertheless, because it would make a large UltraWebTree a much more workable drop target....but it is really the behavior of the surrounding DIV that is responsible - perhaps one of your panels already scripts that?
UltraWebMenu is rendered to div and span elements. Probably that's why this browser issue affect it. I would recommend you to useWebDataMenu, because UltraWebMenu will be retired soon. Please take a look at the WebDataMenu Drag and Drop samples
Let me know if you have further questions.