Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Saving Scroll Bar State ASPX DataGrid

Reply
Thread Tools

Saving Scroll Bar State ASPX DataGrid

 
 
Alan Robbins via .NET 247
Guest
Posts: n/a
 
      06-09-2004
I have a page that automatically posts itself back on a userdefined interval. This page is flow layout with traditionaltables and percentage width(s)/height(s).

In a td is a div with an asp:datagrid with overflow auto to get ascroll bar. The problem is when the page refreshes the scrollbar is always reset to the top. Quite irritating for the users.Surely there is a way to get it to remember the scroll bar'sstate...

Thanks

--------------------------------
From: Alan Robbins

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>SEWazTz6Yk+35UENHSoGZg==</Id>
 
Reply With Quote
 
 
 
 
fdisk
Guest
Posts: n/a
 
      06-10-2004
Have you tried setting the smartnavigation page directive?

Alan Robbins via .NET 247 <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> I have a page that automatically posts itself back on a user
> defined interval. This page is flow layout with traditional
> tables and percentage width(s)/height(s).
>
> In a td is a div with an asp:datagrid with overflow auto to get a
> scroll bar. The problem is when the page refreshes the scroll
> bar is always reset to the top. Quite irritating for the users.
> Surely there is a way to get it to remember the scroll bar's
> state...
>
> Thanks
>
> --------------------------------
> From: Alan Robbins
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotnet247.com/)
>
> <Id>SEWazTz6Yk+35UENHSoGZg==</Id>

 
Reply With Quote
 
 
 
 
Kilic Beg
Guest
Posts: n/a
 
      06-10-2004
you should save the location of the scrollbar in Hiddenfield..
check out this article....
http://authors.aspalliance.com/JimRo...ScrollPos.aspx

"Alan Robbins via .NET 247" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
I have a page that automatically posts itself back on a user defined
interval. This page is flow layout with traditional tables and percentage
width(s)/height(s).

In a td is a div with an asp:datagrid with overflow auto to get a scroll
bar. The problem is when the page refreshes the scroll bar is always reset
to the top. Quite irritating for the users. Surely there is a way to get
it to remember the scroll bar's state...

Thanks

--------------------------------
From: Alan Robbins

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>SEWazTz6Yk+35UENHSoGZg==</Id>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable title bar, status bar, and address bar of a window Matt HTML 9 08-23-2004 07:49 PM
javascript to disable the title bar, status bar, and address bar of a window Matt Javascript 9 08-23-2004 01:23 PM
Re: disable title bar, status bar, and address bar of a browser window John Hann ASP .Net 0 08-21-2004 05:07 AM
disable title bar, status bar, and address bar of a browser window Matt ASP .Net 0 08-21-2004 03:50 AM
Open in Title-Bar-Scroll-Bar-Only Window? George ASP .Net 4 02-13-2004 09:29 AM



Advertisments