473,396 Members | 1,968 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,396 software developers and data experts.

Get focus in a Text Box

I have some text boxes in the footer of a data grid to
allow a user to add a new record.

For some reason to get the focus in to the text boxes you
can only click on the far left of the box if you click
anywhere else within the text box nothing happens.

Does anyone know why this may be?
Nov 17 '05 #1
3 1617
I'm a bit confused. Can you elaborate?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Tracey" <tr**************@hotmail.com> wrote in message
news:0b****************************@phx.gbl...
I have some text boxes in the footer of a data grid to
allow a user to add a new record.

For some reason to get the focus in to the text boxes you
can only click on the far left of the box if you click
anywhere else within the text box nothing happens.

Does anyone know why this may be?

Nov 17 '05 #2
I have some text boxes and I would expect the user to be
able to mouse click anywhere within the text box to be
able to start typing within the text box.

For some reason you can click anywhere on the border of
the text box and the cursor will appear in the text box
ready to start typing, but if you click in the white space
where you type nothing happens.

Thanks for any help.

-----Original Message-----
I'm a bit confused. Can you elaborate?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Tracey" <tr**************@hotmail.com> wrote in message
news:0b****************************@phx.gbl...
I have some text boxes in the footer of a data grid to
allow a user to add a new record.

For some reason to get the focus in to the text boxes you can only click on the far left of the box if you click
anywhere else within the text box nothing happens.

Does anyone know why this may be?

.

Nov 17 '05 #3
Okay, just to make sure, we are talking about an "input type=text" textbox
here, right? That is, you may be using a Web Server Control TextBox, but on
the client, it renders an "input type=text" textbox, correct? And we are
talking about the HTML document in the browser, correct? If that's the case,
I'm kind of puzzled, as the behavior you describe is certainly not typical
for a textbox. What browser are you using?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Tracey" <tr**************@hotmail.com> wrote in message
news:10****************************@phx.gbl...
I have some text boxes and I would expect the user to be
able to mouse click anywhere within the text box to be
able to start typing within the text box.

For some reason you can click anywhere on the border of
the text box and the cursor will appear in the text box
ready to start typing, but if you click in the white space
where you type nothing happens.

Thanks for any help.

-----Original Message-----
I'm a bit confused. Can you elaborate?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Tracey" <tr**************@hotmail.com> wrote in message
news:0b****************************@phx.gbl...
I have some text boxes in the footer of a data grid to
allow a user to add a new record.

For some reason to get the focus in to the text boxes you can only click on the far left of the box if you click
anywhere else within the text box nothing happens.

Does anyone know why this may be?

.

Nov 17 '05 #4

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

Similar topics

4
by: Scott Navarre | last post by:
Hi, I have Red Hat 8.0 and have the default Mozilla browser that comes with it. I am programming in javascript and have come across something problematic. Given the following code: <HTML>...
3
by: Dai Ba Wong | last post by:
Hi: Currently I am having a problem with my webpage. My page consist of two frames, one consist of input text field and the other contains link for different pop-up windows. The problem...
9
by: Roger Withnell | last post by:
Tearing hair out time! Simple attached page shows the problem. http://www.brilley.co.uk/TestFocusSelect.htm Using a function to test if too many characters have been keyed in to a textarea....
2
by: Peter Wright | last post by:
Hi all. Hopefully this should demonstrate the problem I'm having: http://flooble.net/~pete/focus-problem-demo/ (I'm testing it in Mozilla only, but I'm not sure if it's actually a...
3
by: VA | last post by:
t=document.getElementById('mytable') is a HTML table with some input fields in its cells Why doesnt t.getElementsByTagName('tr').firstChild.focus; put the focus on that text field? It...
1
by: avnrao | last post by:
Hi, I am facing a problem with control.focus (javascript). Here is the description of the issue. 1. I have 2 aspx files. on Aspx1 I have button named NewRow. Clicking on this, will redirect...
4
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several...
3
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having...
5
by: LabGeek | last post by:
I have an Access application that I have created that collects data from a scanner and from a weighting scale. The data from the scanner are unique identifiers (barcodes) and the scanner is...
11
by: sheldonlg | last post by:
I have a problem with not seeing the current focus while in a particular screen in a my app. The focus does not show for a type=text or textarea. I have tried to reproduce this problem in a test...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
jinu1996
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...
0
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...

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.