Last post Feb 17, 2011 12:08 AM by kaushalparik27
Feb 16, 2011 11:06 PM|sohail1988|LINK
I am using Visual studio 2008, ASP.net and Crystal report, every thing is fine, but when i am click on my button(i hide crystal report tool bar and use own button for printing purpose) which i add for printing purpose the code written at button click
reportDocument.PrintOptions.PrinterNam… = "CutePDF Writer";
in the output just column names but no data is present in output, but during and after clicking on print button, but not at output. i use ajax on crystal report on my click print button click, any one have idea for printing or exporting of crystal report
Feb 17, 2011 12:08 AM|kaushalparik27|LINK
Are you rebinding the report once you click on print/export button (or after any postback happens)?
Also does this happens when you page thru generated Crystal Report (I mean for example, going from page 1 to page 2)?
You might need to bind the report in Page_Init method.
hope it helps./.