Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   How to stop a panel scrolling back to top (http://www.velocityreviews.com/forums/t98346-how-to-stop-a-panel-scrolling-back-to-top.html)

Craig G 03-10-2005 10:23 AM

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



=?Utf-8?B?RG90TmV0SmVyb21l?= 03-10-2005 11:15 AM

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
>
>
>


Craig G 03-10-2005 11:40 AM

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
> >
> >
> >




arskselva 09-22-2009 07:38 AM

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57