![]() |
How to stop a panel scrolling back to top
i have a datagrid within a panel so that the user can scroll (vertically)
the datagrid rather than page it the problem is that when i select (using select button within the datagrid) a record the panel refreshes and goes back to the top again. is there a way to prevent this occuring and somehow get the panel to remain at the position it was scrolled to? Cheers, Craig |
RE: How to stop a panel scrolling back to top
Hi,
Try by setting SmartNavigation = True Cheers, Jerome. M "Craig G" wrote: > i have a datagrid within a panel so that the user can scroll (vertically) > the datagrid rather than page it > > the problem is that when i select (using select button within the datagrid) > a record the panel refreshes and goes back to the top again. > > is there a way to prevent this occuring and somehow get the panel to remain > at the position it was scrolled to? > > Cheers, > Craig > > > |
Re: How to stop a panel scrolling back to top
thought i was onto a winner there!
but by setting that in the page derivative then makes the select button on the grid not fire! "DotNetJerome" <reachjerome@_yahoo.com-remove-the-underscore-after@> wrote in message news:0154F9FD-966E-4A2A-9AC0-71498DF5B318@microsoft.com... > Hi, > > Try by setting SmartNavigation = True > > Cheers, > > Jerome. M > > "Craig G" wrote: > > > i have a datagrid within a panel so that the user can scroll (vertically) > > the datagrid rather than page it > > > > the problem is that when i select (using select button within the datagrid) > > a record the panel refreshes and goes back to the top again. > > > > is there a way to prevent this occuring and somehow get the panel to remain > > at the position it was scrolled to? > > > > Cheers, > > Craig > > > > > > |
Re: How to stop a panel scrolling back to top
Hi,
Try by setting Page.MaintainScrollPositionOnPostBack = True by Selva R |
| All times are GMT. The time now is 02:03 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.