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

how to limit user input into the multiline text box????

cw
Hi all,

Is anyone have an idea that limit message length input by user into
textbox. I'hv tried the maxlength property by setting it to 150, but it
seems like not working..,

regards
Nov 17 '05 #1
1 6127
Provided your textbox's TextMode is set to SingleLine or Password,
(MultiLine causes the control to be rendered as a textarea tag, where the
maxlength is ignored), the maxlength should limit the number of characters
allowed.

--
James J. Foster, DotNetCoders
http://www.dotnetcoders.com
"cw" <cw****@hotmail.com> wrote in message
news:ug**************@tk2msftngp13.phx.gbl...
Hi all,

Is anyone have an idea that limit message length input by user into
textbox. I'hv tried the maxlength property by setting it to 150, but it
seems like not working..,

regards

Nov 17 '05 #2

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

Similar topics

2
by: Tony Brinton | last post by:
I'm a beginning PHP programmer. I'm wondering if there is an easy way to limit a user's input in a text field to 1000 characters? Thanks, Tony
2
by: xyz | last post by:
I have a form that has a text box that allows multi-line text. When I read an 80K file into it, only 64K characters are stored and displayed. However, if I copy from the 80K file using the...
5
by: Jesper Rønn-Jensen | last post by:
I have a textarea that must be limited to 70 characters. No big deal -- at least so I thought. * Textarea must not exceed 70 characters * Exceeding content must be cut off * Must work on input by...
6
by: Iver Erling Årva | last post by:
I am looking for a way to let the users copy e.g. a multi-line address from a textfile and paste it into a webpage where there is one input field for each address line in such a way that not only...
9
by: Charles Law | last post by:
I have a form on which user controls are placed at runtime. When a control is added to the form a handler is added for an event that a high-level object raises, which must be handled by the new...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
2
by: Terry | last post by:
Hi, i want to limit input in this textbox up to 2O characters, but i can input a unlimited amount of characters. How to limit that? <asp:TextBox ID="txtStreet" runat="server" Width="200px"...
1
by: | last post by:
Hello everyone, I am using a textbox for dumping information generated by the file system watch object. I am having this problem that always at some stage new new information stops being entered...
2
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've a multiLine Textbox, and i want to limit each line to a maximum number of charecters. How can i do it? Thanks, Gidi.
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...

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.