server control textbox width

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
 
T

Todd Bellamy

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

Members online

Forum statistics

Threads
474,269
Messages
2,571,097
Members
48,773
Latest member
Kaybee

Latest Threads

Top