Hi,
I am using a WinGrid on an UltraPanel and have an issue with scrolling.
If I place a large grid on a scrollable UltraPanel, then scroll down the panel and then select the grid, the grid is automatically scrolled into the view such that its top is scrolled at the top of the panel view. It is very annoying if the user has additional data on top of the grid that he wants to keep visible.
What I tried:I tried to set the AutoScrollOffset of the grid control to match its location on the panel. This helps when selecting the grid initially. But when I select another row in the grid, the grid is scrolled again to the top.
I tried to look for the method ScrollControlIntoView, however UltraPanel does not offer this method. System.Windows.Forms.Panel offers that method and it is possible to override it.
Question:How can I make sure that a large grid on an UltraPanel does not always scroll itself into the view?If we do not find a solution, we have to get rid of UltraPanel and use the System.Windows.Forms.Panel again.
Regards,Reto
Hi Reto,
I tried this out and I am unable to reproduce the results you are getting.
I recommend that you get the latest service release if you don't already have it:
How to get the latest service release - Infragistics Community
If that doesn't help, you should try to reproduce the issue in a small sample project and Submit an incident to Infragistics Developer Support so they can check it out.
Hi Mike,
We did not see a solution. Well, I guess we are de-releaseing the UltraPanel and go back to the Windows Standard Panel that offers the overrideable method ScrollControlIntoView(..).