ASP.NET Error when exporting report (Crystal Report to PDF) -
i'm having error when want export crystal report pdf local machine.
based on understanding, says context null. how trace values from? in advance!
below code appear me problem.
response.write("<script>") response.write("window.open('" & resolveurl("~\report\rpthandler.ashx?p=user_id|date&v=" & user_id & "&t=0&n=porderprocessingcard.rpt&c=orcl_po") & "','_blank')") response.write("</script>")
the solution check on parameter , value passing to. example above, calling 2 parameters (user_id , date) while i'm passing 1 value it. therefore prompt such error. hope helps :)
Comments
Post a Comment