473,325 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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
Nov 19 '05 #1
2 2217
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

Nov 19 '05 #2
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:01**********************************@microsof t.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

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: peppeprof | last post by:
Hi- I need to use self.scrollTo(x,y) as the last action in a js function called by a onClick event. It seems that the scrolling actually takes place, but the document is then scrolling back to...
4
by: MLH | last post by:
On a data entry only form. lets say a user opens your form and enters 4 consecutive records. Each time, he clicks your SAVE button and a record is save and the record set is advanced to a newrec. ...
1
by: Patrick Delifer | last post by:
Is there a way to not let a page scroll back to the top if the user has scrolled down and the page is refreshed? Users are selecting Datagrid items and they are always brought back to the top when...
0
by: Robert | last post by:
Is it possible to connect the scrolling of one panel to another. In my case I need to scroll a panel containing a table vertical and at the same time a panel on the left of this panel also (It...
0
by: Do | last post by:
AFter updating a record in a datagrid, I know there is some code to write to get the page scrolled back to the same record position in the page. I saw this at a DevDays .NET conference. Anyone?...
0
by: Al | last post by:
Hi, I am using large PictureBox inside a Panel, user can write on the PictureBox (it is actually InkPicture) but the problem that I have is regarding the Auto scrolling of the panel.. For...
5
by: PythonistL | last post by:
I am a newbie with Javascript. I have this simple script for scrolling text <HTML> <HEAD> <TITLE>Scrolling Message Script</TITLE> <SCRIPT language="JavaScript"><!-- var msg = 'My scrolling...
0
by: =?Utf-8?B?YW1iZXI=?= | last post by:
Hello! I have a form that contains a tabcontrol, that is populated based on which record a user selects in a listbox on the form. I just added code to 'mytab.validating' so if the user tries to...
1
by: mark4asp | last post by:
How can I stop a post back from firing when there is no need for it to? I have a GridView pager template (shown below): There are 3 commands: ddlPager_SelectedIndexChanged - move the page to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.