Hi,
I have a web form with many combobox, textboxes, etc. In this web form, I have a button for to print all the values of this Web Form.
How I can print the values of this controls without print the controls? Only I want to print the text.
Regards
Printable View
Hi,
I have a web form with many combobox, textboxes, etc. In this web form, I have a button for to print all the values of this Web Form.
How I can print the values of this controls without print the controls? Only I want to print the text.
Regards
You should use style sheets. See this
In your case, what you need is a separate 'print.aspx' page. When the user clicks on print, open a new page (either in popup or just navigate to it) and pass along all the values the user filled out. The difference of course will be that all the values he filled out will be in labels rather than in textboxes. You can then call the window.print() method (javascript).
Sorry misread the question.