how to make asp:textbox printer-friendly?

V

Valera Simonov

there are some asp:textbox on page which is have to be printed.
printed page looks good until text in the textbox exceeds size of it - in this
case only a part of text printed. can i somehow make textbox differ in size
depending on amount of text it contains?.. any solution i can figure now is to
make asp:label or smth like that instead of textbox, but it' gonna be another
representation of page - i don't want to do this.
thanks.
Shade.
 
N

Natty Gur

Hi,

you can calculate the text box height by using GDI MeasureString method.
But it can be pretty complicated I sagged you will stick with the Lable
solution.

Natty Gur[MVP]
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 

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,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top