server control textbox width

  • Thread starter Thread starter DesignerX
  • Start date Start date
D

DesignerX

In classic ASP/HTML you set the length and maxlength of a textbox (so the
width of the control is appropriately drawn for the number of characters
that can be entered.

How is this done with a textbox server control. Do I have to use an
algorithm that looks at the maxlength and tries to calculate the width in
pixels? ugh I hope not sounds unreliable.

Stan
 
The equivalent property for the asp:TextBox control is Columns, this is the
width of the TextBox in characters.
 

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

Back
Top