View Full Version : Grid is scrolling to top when in tabpanel and new "tabpage" is added dynamically

27 Jan 2011, 10:33 AM
Hello All!

I'm refining this post since I haven't had a responses after a day.

Figured I might not have explained myself very well.

So... long story short...

I have a TabPanel with a grid as it's first page.
When rows in the grid are clicked I open a details page
and add it to the same TabPanel the grid is in.

When I do this the grid is scrolling to the top - not good - because
the user loses their place.

My guess is that the TabPanel is performing a layout when
I add the second tab page which causes the first tab page to re-draw
it's controls.

Any idea what's causing or how to stop this?