Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MultiLine TextBox limit number of characters vb.net asp.net

Posted on 2007-12-06
4
Medium Priority
?
4,803 Views
Last Modified: 2008-02-01
Need to know how to limit the number of characters a user can enter in a MulitLine textbox and display a countdown.  I assume I will need to use Javascript but have no experience with it.  Basically I would like to:

1 - Limit the text entry in a multiline textbox to 1500 characters and
2 - Provide a countdown below the textbox so that the user will know when it is time to get to the point and finish typing.

Any help will be greatly appreciated.  Put max num of points because I need a solution pretty quick.
0
Comment
Question by:mamcw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20424501
Use MaxLength property to limit the usuar to certain number of characters.
0
 
LVL 22

Accepted Solution

by:
RedKelvin earned 2000 total points
ID: 20424519
0
 

Author Comment

by:mamcw
ID: 20424908
Hey guys, thanks for the quick responses.  Jaime, I've tried the MaxLength property but apparently it does not work with MultiLine TextBoxes.
RedKelvin, that seems to be what I am looking for.  I am going to try it out and I'll let you know how it goes.
0
 

Author Comment

by:mamcw
ID: 20430507
RedKelvin thanks for the link, that is exactly what I wanted.  

Thanks again,
Mamcw
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question