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

How to set a limitation to the characters inserted in a textbox.

Posted on 2011-09-28
3
238 Views
Last Modified: 2013-12-17
HI,

How can set a limitation to the characters inserted in a textbox?

Peter
0
Comment
Question by:peterkiers
  • 2
3 Comments
 
LVL 17

Expert Comment

by:sonawanekiran
ID: 36714988
Use
textBox1.MaxLength = 14;
0
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 500 total points
ID: 36714995
I mean
Look at the MaxLength property of the TextBox
0
 
LVL 1

Author Comment

by:peterkiers
ID: 36714999
Thanks.

P.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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