Solved

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

Posted on 2007-12-06
4
4,778 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
  • 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 500 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Editing XSL files, 2 21
System32Int Error 8 44
No row return after calling the fillschema method 4 19
Asp.net mvc entity issue 6 20
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now