I have designed a ASP.NET form with many controls, so it needs to scroll
down with the scroll bar. My question is when I press "add" button in
datagrid(the datagrid was located at the bottom of the form, I need to
scroll down the bar) , the form was postbacked to server and just displayed
the upper part of the form. Is it possible to fix the position of the scroll
bar (I want to display the datagrid after the form postback) ?
Million Thanks 2 3005
when you press Add button, I assume that you are showing a blank record in
the datagrid. if so, you can set focus on the first item in the new row
which would bring the scroll bar down.
Av.
"Grey" <er*******@i-cable.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. I have designed a ASP.NET form with many controls, so it needs to scroll down with the scroll bar. My question is when I press "add" button in datagrid(the datagrid was located at the bottom of the form, I need to scroll down the bar) , the form was postbacked to server and just displayed the upper part of the form. Is it possible to fix the position of the scroll bar (I want to display the datagrid after the form postback) ?
Million Thanks
Try to use SmartNavigation
On Wed, 23 Jun 2004 11:38:48 +0800, Grey <er*******@i-cable.com> wrote: I have designed a ASP.NET form with many controls, so it needs to scroll down with the scroll bar. My question is when I press "add" button in datagrid(the datagrid was located at the bottom of the form, I need to scroll down the bar) , the form was postbacked to server and just displayed the upper part of the form. Is it possible to fix the position of the scroll bar (I want to display the datagrid after the form postback) ?
Million Thanks
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Boniface Frederic |
last post by:
Hello,
I have frame displaying the last posted messages.
I set <meta http-equiv="refresh" content="5"/> to automatically refresh the
frame every 5s
My problem is; if I scroll the frame to see messages up or down, after the
refresh, the scroll position is reseted to the top of the frame and my
scroll position is lost.
|
by: ojorus |
last post by:
Hi!
I just wonder how I can save a page's scroll position with javascript. (i'm
not a javascript developer) I have a PHP-page with two columns; the left
contains a lot of thumbnails, and the right contain a bigger picture of the
thumbnailed selected. The problem is that all these thumbnails (and the big
picture) are placed quite far down in the document. (a lot of text is at the
top.) What I want is that when a thumbnail is clicked, the...
|
by: JC |
last post by:
I'm sure you've all seen the save scroll position from 4 guys from
rolla which can be found here >
http://aspnet.4guysfromrolla.com/articles/111704-1.aspx
BUT
try to get that to work AND still be able to set the focus to a
control.
Here's the problem, when you set the focus by using the
registerstartupscript method the control gets the focus after the
scroll position has been set. When this happens the scroll position
|
by: charlies224 |
last post by:
Hi,
I am writting a software that requires me to make sure the Num Lock is
always on and Caps Lock is always off.
First, I know how to detect if Num Lock or Caps Lock is on or off (if
someone is interested, let me know and I will send you the codes). Once
we know if the stat of Num Lock/ Caps Lock is not what we desired, we
just send the Num Lock / Caps Lock key to change the stat. From most of
|
by: jkarpago |
last post by:
Hi:
I have a javascript that creates a custom scrollbar for a div in the
middle of my page.
The problem is that when I scroll in my div it scrolls the div and the
scroll of the page so I loose the position i want and exists from my
div.
So , what I want is to lock the window scrollbar in the moment I am
over my div, so I can scroll my div without any window movement.
| |
by: Lit |
last post by:
Hi,
How can I capture the vertical scroll bar position for a Listbox.
I have a Listbox of 100 items + when I click on it I post back remove the
item selected.
After returning to the client browser the list box scroll position is at the
top.
|
by: bgold12 |
last post by:
How can I test if a vertical scroll bar is at the bottom of the range?
I know that...
document.getElementById('mydiv').scrollHeight
....returns the range, and...
document.getElementById('mydiv').scrollTop
....returns the position of the top of the scroll handle in the range,
|
by: Frinavale |
last post by:
I think I'm trying to do something impossible.
I have a <div> element with a overflow style set to "scroll". In other words my <div> element allows the user to scroll the content within it.
There are a number of elements within this <div> that cause the <div> to participate in an Ajax call to the server.
In order to maintain the scroll position of the <div> during the Ajax request I store the scroll value in a hidden field so that when...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |