Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2005, 10:35 PM
Authorized User
 
Join Date: Dec 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raybristol
Default a problem with textbox typing, thanks!

when I added a textbox (no matter single line or multiple line), user can move the cursor anywhere in the textbox, even when the textbox is empty, but when a user click on a textbox, would it suppose automatic keep the cursor next to what you had in that textbox, so if you haven't type anything in then the cursor should be in the leftmost of the textbox, but now in my case, the cursor will be anywhere you click on the textbox, even when that textbox was empty. i hope this make sense, many thanks for your help!

 
Old December 16th, 2005, 10:26 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The only way I can see this as being possible is if the textbox is full of spaces. Otherwise, a standard textbox should only let you place the cursor between the beginning and end of the text.

-Peter
 
Old December 16th, 2005, 06:02 PM
Authorized User
 
Join Date: Dec 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to raybristol
Default

yes, i got it, it's because when I load a record from database to a textbox, and I didn't use xxx.trim, so it load the max length of a record, so it make up lots spaces, so after using trim to a string, this problem solved!






Similar Threads
Thread Thread Starter Forum Replies Last Post
need some help with typing narmer93 Visual Studio 2005 1 May 20th, 2008 05:28 AM
Heap of typing errors HELP!!! ours All Other Wrox Books 11 December 24th, 2007 11:23 AM
Typing problem with the Phile DM2 BOOK: ASP.NET Website Programming Problem-Design-Solution 5 May 11th, 2005 06:21 AM
How to create typing effect with text? [email protected] Flash (all versions) 2 March 26th, 2004 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.