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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top