473,765 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to keep position of scrollbar

hi,
I had a listbox web control, i want to keep the scrollbar position after
postback. Is any way to do that?

Thanks very much.
Nov 18 '05 #1
2 1959
Tee
Without writing any code, set the form SmartNavigation = True.

this is the easiest way, but SmartNavigation is somehow very buggy. If you
see any problem after use SmartNavigation , then you need to try this :

http://aspalliance.com/356

HTH,
Tee
"Green" <so*****@yahoo. com> wrote in message news:opsa98yckp pk4u20@dev-02...
hi,
I had a listbox web control, i want to keep the scrollbar position after postback. Is any way to do that?

Thanks very much.

Nov 18 '05 #2
There are a bunch of free ocntrols here.

This one does what you want.

http://www.metabuilders.com/Tools/ScrollingPanel.aspx
--
Joe Fallon
Access MVP

"Green" <so*****@yahoo. com> wrote in message news:opsa98yckp pk4u20@dev-02...
hi,
I had a listbox web control, i want to keep the scrollbar position after postback. Is any way to do that?

Thanks very much.

Nov 18 '05 #3

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

Similar topics

1
7491
by: alvinpoon | last post by:
Hello, I have a problem setting the scrollbar position of a div region on a webpage which is posted at http://www.geocities.com/virtuosity999/Logon.htm If the page is loaded with Netscape, the vertical scrollbar on the left side will be moved down a little bit but if the page is loaded with Internet explorer, the scrollbar remains at the top of the scroll area.
1
7100
by: deepika | last post by:
Hi, I have a datagrid with 200 rows and an iframe adjacent to it. When I click on the row, the details of that row show up in the iframe. Now suppose I click on the 150th row, the postback occurs and I lose the view of my selected row because the datagrid now has the scrollbar repositioned to the top,with datagrid showing the first 70 rows. How can I keep the scrollbar where it was before the postback so that the selected row(which in...
6
2511
by: Jorge Luzarraga Castro | last post by:
Hey, hope you can help with this. I have an aspx page which contains several User Control. At the beggining there´s only one visible User Control but after working with the page additional UC begin showing up which means the page gets longer so the scroll bar is needed to reach the ones at the bottom. The problem I have is that when I´m working with the user control at the bottom of the page and this page needs to be reloaded the...
6
10939
by: Colin McGuire | last post by:
Hello experts, this is a repost but I have been (much) more clear. I want to know the position of the horizontal scrollbar in a textbox as a percentage - if the horizontal scrollbar is hard left, I want to display 0% on the form. - if the horizontal scrollbar is smack in the middle, I want to display 50% on the form. - if the horizontal scrollbar is 2/3rd along the X-axis,
0
1708
by: ranabhavin2 | last post by:
Hi , I have made chat application in asp.net using atlas. It is database chat. So, every 1 minutes page is going to refresh and fetch data from database. All the data of chatting I m displaying in DIV tag with scroll bar. Problem : when page is refreshed scrollbar position is going to change everytime. So, if user scroll up the divtag and seeing his data then page is refreshed and scrollbar position is again going to change. I...
4
9924
by: Blackbrand | last post by:
I'll start off with what i'm trying to do: i want to search my data programmatically and then jump to the row in the datagrid. My data will almost allways go out of the datagrids bounds so if the found result is not on screen at the time i want to 'scroll' to the result. sounds simple enough right? Some things i've tried to get the datagrid to do what i want:
0
2574
DonlonP
by: DonlonP | last post by:
Hi, I have an ASP.NET page that contains a datalist. The datalist has image buttons on the datalist items that allow the user to increase/decrease the values in the list. There can be a large number of rows so my datalist has a scrollbar. Each time the user clicks an image button I want the scrollbar on the datalist to stay in exactly the same place on postback. I've tried setting SmartNavigation to true and this almost works but it...
0
1052
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, I have the following problem in VB, but I think some C++ freaks have more in deep understanding: I have an OCX which contains an picture box which works as a container for controls. I subclassed my OCX to add a vertical scrollbar. The scrollbar works fine. Problem: Some of the embedded controls are only visible when another control is
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.