Crystal Report - Toolbar navigation vanishes the viewer!
-
Hi, I'm very new to crystal reports. Now I'm converting a classic ASP application to ASP.NET 2.0 and I already have the rpt files from this asp app. I create a web content form, and my master page have different menus, which when clicked I pass the report to be opened in Query string. I check this in my report viewer web page and bind it dynamically. Now when I click next, previous or other buttons in Toolbar, the entire viewer vanishes in to thin air! It just disappears! Do I need to do any custom coding for these navigation feature to work? But then it was working fine in ASP application, and I'm using the same rpt files here :( Regards, Blumen
-
Hi, I'm very new to crystal reports. Now I'm converting a classic ASP application to ASP.NET 2.0 and I already have the rpt files from this asp app. I create a web content form, and my master page have different menus, which when clicked I pass the report to be opened in Query string. I check this in my report viewer web page and bind it dynamically. Now when I click next, previous or other buttons in Toolbar, the entire viewer vanishes in to thin air! It just disappears! Do I need to do any custom coding for these navigation feature to work? But then it was working fine in ASP application, and I'm using the same rpt files here :( Regards, Blumen
I found the answer! I have to Bind the report again, again and again... i.e. I had called the Bind method in !IsPostBack, but I have to call the method on both PostBack and when the page loads for the first time. Chris Love's blog helped me: http://professionalaspnet.com/archive/2006/01/15/Crystal1.aspx[^] But isn't fetching data on every click? Anyway, I've one more doubt: When I accessed this ASP application and tried to view reports, it asked me with which application to open this file (rpt file). I found out that this was because I dint have viewer installed in my machine. Will the same issue happen to users when I deploy this .NET app in our web server? Or wil they be able to view reports in their browser? Regards, Blumen
-
I found the answer! I have to Bind the report again, again and again... i.e. I had called the Bind method in !IsPostBack, but I have to call the method on both PostBack and when the page loads for the first time. Chris Love's blog helped me: http://professionalaspnet.com/archive/2006/01/15/Crystal1.aspx[^] But isn't fetching data on every click? Anyway, I've one more doubt: When I accessed this ASP application and tried to view reports, it asked me with which application to open this file (rpt file). I found out that this was because I dint have viewer installed in my machine. Will the same issue happen to users when I deploy this .NET app in our web server? Or wil they be able to view reports in their browser? Regards, Blumen
Hi include the Crystal reports Merge module in the web deployment set up file and the Reports will work well on any web server you install on
Mohammad Al Hoss
-
Hi include the Crystal reports Merge module in the web deployment set up file and the Reports will work well on any web server you install on
Mohammad Al Hoss
Mohammad Al Hoss wrote:
include the Crystal reports Merge module in the web deployment set up file
How do I do that? And normally we don't use setup file for installation, we publish the project to a folder, copy its contents and put it in the virtual directory in the production server. Regards, Blumen