Last post May 10, 2012 12:59 PM by sharanamma
May 05, 2012 01:25 PM|sharanamma|LINK
I'm using .rdlc report in my **web application**, exporting report to pdf & print it works great but now i wanted to print report automatically(i,e on click of print button.)
Is it possible to print rdlc report automatically?
Please help me,
& thank you.
May 06, 2012 05:30 PM|cnranasinghe|LINK
Clicking print button will raise the print popup window from the browser. That's the general behavior. I can not find a perfect resolution for your answer, but try following script, you will be able to customize for need. This works for IE but not other
Uncomment the sup print() procedure before executing.
May 08, 2012 08:19 AM|Srikanth Kasturi|LINK
In your web application if you have used report viewer, then it gives an option of printing the report directly from the report viewer itself. On the header of the report viewer, you will see a print option for that report. That should solve your problem.
BUT, this has a serious flaw, the print icon only appears if you browse your application using IE only. Other browsers.. you wont be able to see that icon.
May 10, 2012 12:59 PM|sharanamma|LINK
Thanks for the reply Srikanth but application is works fine in chrome & firefox, why i'm using these browser means some of the .css file will not supporting in ie. so i wanted to print reports on click of the button itself. is it possible?