Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

max characters in a textbox (VB)

Posted on 2006-11-06
1
Medium Priority
?
305 Views
Last Modified: 2011-09-20
how do i set the maximum number of characters allowed in a textbox?
0
Comment
Question by:Mike Miller
1 Comment
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 2000 total points
ID: 17882258
hi,
<asp:TextBox id="TextBox2" style="Z-INDEX: 109; LEFT: 123px; POSITION: absolute; TOP: 75px" runat="server"
                MaxLength="100"></asp:TextBox>

use the maxlength property

b u d d h a
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

824 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