Do you have this soluction for MVC 4?
no; I don't have now. but it can be converted to ASP.net MVC4.
I was able to set/change the login on aspnetsimple.as
px.cs using rd.SetDatabaseL ogon(). However, I tried to do the same on FromMvcControll er.cs using rptH.SetDatabas eLogon() and it didn't work. Also, I tried commenting out the code you mentioned earlier, but I am still not able to print from the webforms report. Any suggestions?
can you share your sample so that i can check.
hi Hasibul Haque Reply pls HOW CAN WE DO WITH OUT ASPX PAGES( I MEAN WITH WITH RAZOR PAGES) IF U HAVE ANY SAMPLE LET ME KNOW ........ Thanks Kartheek N
Sorry for delay. As i know using Razor view you cannot directly show crystal report using Crystal Report Viewer But you can show crystal report as a pdf format which i have shown on my sample(FromMVCC
Hi Hasibul Haque HOW CAN WE DO WITH OUT ASPX PAGES( I MEAN WITH WITH RAZOR PAGES) IF U HAVE ANY SAMPLE LET ME KNOW ........ Thanks Kartheek N
Hi Hasibul Haque Your Example is Very Use ful But I want Crystal Reports Using Aspx Page in ASP.net mvc If u Have send That one also... Thanks Kaerheek N
Thanks for downloading my sample. After running my sample you will able to find following tab 1. Using Web Forms 2. From Controller/Acti
on Now consider (1) Using Web From Here I have used ASPX page to show crystal Report.
Hello Hasibul, I downloaded your solution and i found two bugs. First print button and everything else from toolbar doesn't work. Second when i drag chart i your dynamic report, it shows me broken image on chart place. Please tell me if you know how to resolve this? Thanks
Thanks for downloading my project and detecting bug. Fix: ==== I have done some mistake by making session = "". Thats why report is not loaded properly on postback. Please disable following line of code from aspnetgeneric.c
s /* Session["Report Name"] = ""; Session["rptFro mDate"] = ""; Session["rptToD ate"] = ""; Session["rptSou rce"] = ""; */ Hope this will solve print problem. I have to check with chart. Now i have no idea about chart. I am sorry for that. Consider following "Second when i drag chart i your dynamic report, it shows me broken image on chart place." Here dynamic report means?