Access Crystal ReportViewer inside static WebMethod in ASP.Net

Last Reply 9 days ago By dharmendr

Posted 10 days ago

i retrive the data using ajax and fill into dataset

but my problem is that crystalreport

in static method crystal reportviewer not showing

so what shoud i do for reportsourse and bind crystal reports viewer in using ajax

You are viewing reply posted by: dharmendr 9 days ago.
Posted 9 days ago

Hi SajidHussa,

You can't bind crystal reports in ajax webmethod.

Declare a property with Dataset that are used to assign report sourse. Then inside the WebMethod set the value in Dataset.

Then set report sourse using the Dataset.