Is there anyone how to write the print function so that i can print out the web form with the web control contents.Here is the scenario , the web form i would like to print out have:
1.TextboxA.txt = "Sample1"
2.TextboxB.txt = "Sample2"
3.DropdownlistA.selectedIndex = "1"
4.CalendarA.
Please teach me how to write the print function in ASP.NET so that i can print out the web form with the result like this:
Name : Sample1
Age : Sample2
Sex : ValueB *(since the dropdownlist selected index is 1)
Date : CalendarA.
I had do some searching on the internet , most of them introduced the Javascript method to write the Print function.I tried , but it cannot print out the property of the web control.Please give me some help.