Posted on: 10/8/2014 7:39:21 AM | Views : 499

Hi,
Step 1: I have created a print.aspx page which on load get data from db and assigns to controls on page. And onload called onload="window.print();
Step 2 : I have a button on another page which will call this page to generate word document. What i did here is called the response.redirect method and as i already told that we have this code  onload="window.print(); on page load of print.aspx.
Step 3: Once done with loading data from db and assigning to controls in print.aspx page, how can i generate word document of that page with same styling and formatting of print.aspx page.
Please tell me how could we do this?
Thanks,

Go to the complete details ...