Textbox maxlength property in vb.net 2003

  • Thread starter Thread starter h
  • Start date Start date
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
 
From the documentation for TextBox.MaxLength:

"This property is only applicable when the TextMode property is set to
TextBoxMode.SingleLine or TextBoxMode.Password."
 
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
 
Back
Top