Textbox maxlength property in vb.net 2003

H

h

Hi,

I have set my textbox's maxlength property to 1 , however it allow more than
one word. Is there any settings that I am missing ?


Thanks in advance

Hardik Shah
 
C

Clive Dixon

From the documentation for TextBox.MaxLength:

"This property is only applicable when the TextMode property is set to
TextBoxMode.SingleLine or TextBoxMode.Password."
 
H

h

first of all thanks for your reply.

I could not found textmode property for textbox(vb.net), can u explain me in
detail.

Hardik Shah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top