Is there a way to prevent the gallery preview from scrolling when an item is selected? I currently have a gallery with 4 items layed out in a 2x2 fashion, and when the user click one of the lower two items, the preview scrolls to bring that item to the top. Is there a way to prevent this behavior?
Alternately is there a way to force the preview to scrol back so that the first items are visible? Like the user in this post, the BringIntoView does not work for me with v8.2.
Thanks,
Beardo
There is no way to prevent the item from scrolling into view in the preview. However, I was able to get the first item to scroll back into view. You are correct: if you handle the GalleryToolItemClick event, BringIntoView will not work. That is because the event is fired and then BringIntoView is called internally to bring the clicked item into view. You must use BeginInvoke to call a method that will bring the first preview item back into view. I can see the justification for this being a bug and the order of things should probably be fixed so BringIntoView can be used directly from a GalleryToolItemClick event handler. You can submit the issue to the support group: http://es.infragistics.com/gethelp.