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
Solved

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

Posted on 2007-12-06
4
4,783 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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