|
by: Mad Scientist Jr |
last post by:
I have a textbox that i am adding to (in codebehind of ASP.NET) and
need to ensure that the focus is scrolled to the bottom of the textbox
each time the page refreshes, and then set focus to a 2nd textbox
(which the user types input into).
I have tried a couple functions I found posted online but they don't
work (see below)
The closest I got was using the scrolldown method:
|
by: Mel Weaver |
last post by:
Hello,
How do you scroll to the bottom of a multiline textbox in code?
Mel
|
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: Rachel |
last post by:
I am developing an application for Windows Mobile devices using C#. I have a
form that has several controls (labels and textboxes that are dynamically
created on opening the form) and a vertical scroll bar. The number of
controls varies. Everything works well and the scroll bar resizes acc to the
number of controls.
Only problem I am having is that when the user is entering data and the
control is at the bottom of the form the scroll bar...
|
by: Brian Keating |
last post by:
Hi there,
Does anyone know if i can determin if the scroll position is at the bottom
of my textbox?
I can get the scroll position fine, but how do i know if it's actually at
the bottom?
thanks in advance
Brian.
|
|
by: jasondavidcarr |
last post by:
Hello all,
I have a "comments" page that contains three sections; the article to
be commented on is on top, followed by previous comments, and on the
bottom a place to add new comments. It's a pretty common scenario.
I have two links from the main article page; one to view the comments
and one to add a new comment. I'm simply using <span id="top"and
<span id="bottom">, and #top or #bottom in the query string to
distinguish between...
|
by: Coldfire |
last post by:
Hello
I am doing a ASP.Net website project where i am having a problem of textbox
its attributes are
<asp:TextBox ID="Description" TextMode=SingleLine CssClass="serviceBox" Width="250" Height="45" Runat="server" MaxLength="1000" /></asp:TextBox>
and the CssClass
.serviceBox
|
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: NehaDas |
last post by:
Hello Everyone !
Iam relatively new to .NET C# and m still in the process of exploring various options. Any help with regard to this query will be highly appreciated ...
Iam working on an application that somewhat is similar to outlook .
It will have a list of messages received on top and a reading pane below displaying the message selected by user.
The problem is as follows :
The screen is structured in the form of 3 taskcards :
1)New...
|
by: newbie009 |
last post by:
How can I disable horizontal scroll in textbox for FireFox?
Right now 1 textbox has vertical scroll and other textbox has horizontal scroll.
It only looks like this on FireFox but it looks ugly.
http://jumbofiles.com/example.gif
I used this code but it only worked for IE not FireFox:
style="overflow: scroll; overflow-y: scroll; overflow-x: hidden; overflow:-moz-scrollbars-vertical;"
Basically I want only vertical scroll.
|
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: 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...
|
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: 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...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|