Hey,

I'm creating textbox'es dynamically (in ASP .NET) from values, which I get from DB.
I get value which is maximum allowed string lenght.

How to resize textbox to size, when width maximum value is specified.

Etc.:

Maximum string lenght can be 500 chars.
I do not want long singleline texbox.
It should have properties multiline = true, height = [textheight * lines count] when it reachs maximum width.

Thanks in advance