textbox height = containing cell height - x

J

JC

Greetings all.
I would like to know how to make a textboxs height = the height of the
cell it's in - 10 px or what ever number..
Using 90% for height does not work as I need it to be exactly so many
px less than the total height and with %'s it's too dynamic from small
to large screens.

Thanks for any help!
Jeff
 
A

Alvin Bruney [MVP]

use the style attribute and the codebehind to set it.
textbox.attributes.add("height","10px") roughly. You can always crack open
the aspx page to find out what the correct syntax is.
 

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
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top