Access Crystal ReportViewer inside static WebMethod in ASP.Net

Last Reply 6 months ago By dharmendr

Posted 6 months 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 6 months ago.
Posted 6 months 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.