ActiveReports 6 Support

Started by pfalcon at 03-11-2010 11:41 AM. Topic has 4 replies.

Print Search Rate
Sort Posts:    
   03-11-2010, 11:41 AM
pfalcon is not online. Last active: 8/16/2011 7:22:42 AM pfalcon

Top 500 Posts
Joined on 08-29-2004
Mellbourne, Australia
Posts 39
Web Viewer and Masterpages?
I was struggling to get the report viewer working in my application - only the PDF viewer would work, despite all but completely duplicating the sample code, including the actual report.

I finally traced it to the fact that all my sites pages are based on a masterpage. I built a test page that is essentially the contents of my master page plus the layout I wanted for the report page, and it works - but it won't when constructed as a page with a masterpage?

I should also point out that there is a clash somewhere with Infragistics controls - they and ActiveReports seem to deactivate each other when on the same page (eg: Infragistics Menu control ceases to display dropdowns when on the same page as a working Report viewer, but does work when the report viewer seemed to be deactivated by the masterpage?).

I can work around this simply by placing my reports on separate pages, though it is rather short of the UI I had intended...

Is this a bug, or am I missing something?

   Report 
   03-12-2010, 12:05 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: Web Viewer and Masterpages?
Hello,

Could you please confirm me which WebViewer type is not working? If it’s a FlashViewer then please make sure to copy ActiveRepors.FlashViewer.swf file into the project folder. This file is located in:
C:\Program Files\GrapeCity\ActiveReports 6\Deployment

I am not aware of any clash with Infragistics controls. Could you please provide me the link from where I can download the trail version of this control and test it with ActiveReports?

Regards,
Ankit Nigam


   Report 
   03-12-2010, 8:22 AM
pfalcon is not online. Last active: 8/16/2011 7:22:42 AM pfalcon

Top 500 Posts
Joined on 08-29-2004
Mellbourne, Australia
Posts 39
Re: Web Viewer and Masterpages?
Infragistics products can be downloaded fro their website: www.infragistics.com. You are looking for the AP.NET suite, and I am using the VS 2008 (CLR 3.5) versions of these, and their latest akido controls (which have a lot of client side javascript activity). You will need to register to download the trial. My production website uses the APTCA versions of the library to run under medum trust.

Its better to explain by showing the structure of my page:

Masterpage conents:
- igmisc:WebGroupBox with small title

The reporting page contains (apart from the above masterpage)
- script manager
- User control which handles main page titlebar
   - igmisc:WebGroupBox with logos and titles
   - ig:WebDataMenu
- ig:SplitterPane
  - Left Pane:
    - igmisc:WebPanel containing report selection criteria (various controls and a button to regenerate the report)
  - Right Pane
   - ActiveReportsWeb:WebViewer, containing  for FlashViewerOptionsPdfExportOptions and HtmlExportOptions

If i load up any report, including one fo the sample ones, it works with PDF. The HTML export gives me the controls at the top of the viwer but otherwise blank, and the Flash viewer displays an empty window, and effectively hangs the page (seems to be on an infinite loop somewhere with the page's progress bar frozen). In ALL cases, the report itself ran - as I can trace that code and it always executes in full.

I duplicated the above structure on a new page by taking the original WebControl.aspx page in the samples and built it up to duplicate mine (but NOT using a master page), and the flash & HTML viewers work. The only odd thing is that the Infragistics menu inside my usercontrol stopped working - it built itself, but none of the client side javasript seems to operate.

Both of the above pages are in the same project - so all the requirements (HTTPHanldes, swf files...etc are present and accounted for)

The infragistics thing is a side issue to that of Masterpages!?? Why is this so?



   Report 
   03-15-2010, 1:33 PM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: Web Viewer and Masterpages?
Hello,

I need some more time to look into this issue. I will post my observations shortly.

Regards,
Ankit Nigam


   Report 
   03-16-2010, 8:49 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: Web Viewer and Masterpages?
Hello,

Thank you for patience. I have tested this issue with the Infragistics WebMenuData control but was not able to replicate the behavior. I was able to get the ActiveReports FlashViewer/PDFViewer and the Infragistics control working simultaneously on the same page.

You can download the test sample from here.

Regards,
Ankit Nigam


   Report 
GrapeCity » Product Support » ActiveReports 6... » Re: Web Viewer and Masterpages?

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.