I am creating an ASP.Net Webform page to use the ReportViewer control so our users can view SSRS reports inside a web page.
I have created one report and it worked great. I am in the process of doing a second report, which is mostly just a copy / paste of the first report, but for some reason, I am unable to display the report in my page (see screen shot).
I do not get any error in the code, nor does the SSRS report seem to throw an error. It seems to load as I get the two scroll bars shown in the screen shot after I hit "view report" button, but for some reason, there is no report shown. The report works, as I tried it on the SSRS server itself and have no problems. Anyone know what I might be missing or causing this?
Related
I have a application with crystal reports wpf control. My application shows the current page number and the last page number of the report. This should also work for subreports.
Is there any event which tells me, when a subreport is opened?
I am using crystal report viewer to display reports on web page. Crystal report viewer covers only 2/3 area of web page on right bottom.
Now client demands for an option to view report in full screen mode. e.g there should be some toggle button etc which will perform full/normal view functionality.
Any help regarding this, will be appreciated.
I'm using Active Reports 6 and display the report in our application in the Viewer control (not printed). I need a way to determine the current page the user is showing, and I also need a way to restore the Viewer to a specific page. I need this because when data is added to the report, the Viewer automatically resets to page 1. I've searched high and low and cannot find a way to do either. Can this be done in Active Reports and if so can anyone tell me how to do it? Thanks!
You may make use of the 'CurrentPage' property of the ReportViewer that gets or sets the number of the current document page displayed in the viewer.
Regards,
Mohita
i am doing practice in crystal reports in asp.net web application. I am finding two problems, first one is each time i run my app crystal reports ask for password to login the database and also do not update the dynamic fields. the second one is i want to open crystal report on click of button whenever i click on button object of crystal report creates and then it calls its page_load(this,null) in which i am giving parameter this and null but the page is not going to be open.
please help me and sorry for poor english
thanks
You can try this. May be help to you...
Here's a link!
First You can try using datasets for avoiding logon credentials to be provided everytime crystal report is to be viewed. If you are using dataset make sure your dataset is preserved between each postback by storing the "session" dataset.
Second pass logon credentials programatically for the database being used. Passing logon credentials is explained in lot of forums.
Third, if you are using Submit button for viewing the report, make sure you effect a full postback on submit button click. You will find that all pages in the report will work perfectly fine.
Note: Use Trigger with Update Panel to Effect the Full Post Back (The Control ID of the trigger should be the ID of the button).
Can we have continuous viewing in Crystal Report Viewer, rather than clicking NextPage button ?
I am developing a win form application in C#.
No, not within the viewer control itself.
You can export to HTML as one, single page though. HTML can be a bit wacky on the formatting, but if you format you report very strictly in columns and stay with standard fonts, you get pretty good results.