how to make asp:textbox printer-friendly?

  • Thread starter Thread starter Valera Simonov
  • Start date Start date
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.
 
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
 
Back
Top