I have successfully created my first Infragistics report and web project following the steps in the User Guide chapter "Creating a Report and Integrating It Into a Silverlight Application"
Now, I want to take this existing report from this test web project and import it into my large existing web application.
Please tell me the steps to go through for adding a Silverlight Application to my existing web application - and for importing the Infragistics report.
I don't want to mess up my large web application!
Thanks.
Hello,
To add the report to your existing website you would need to do the following steps:
1. Add a reference to the report service. Please note, if you create a new report service in your existing website to use make sure that you did not have the ServiceEndpointUri in your sample project hardcoded to use a specific previous port number. If so you will need to update your original XAML page to find the current location of the service.
2. add a reference to the assembly for the class library of reports
3. add the connection string with the name of your Reporting datasource and the connection to your database to the web.config file (as in sample web application’s web.config)
4. Add the .xap file containing the xaml page with the report viewer to the ClientBin directory (you may need to add this if it does not exist). This file can be found in the ClientBin directory of the sample website you created.
5. Add a new web page which includes an object tag for a Silverlight application with the source param set to the xap file you included in the previous step. Use the Test Page from your sample solution as a guideline.
Sincerely,
Valerie
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am trying to follow these steps and not getting very far. I tried to add a report class library and the option doesn't exist when right-clicking on the solution.
My web application is NOT a Silverlight application. Perhaps I need to do something about that first?
Hello Sylvia,
I need to look into how this is done for you, but first I want to ensure I understand what you want to do. Are you determining the parameters based on logic in your asp.net website and the need to pass those parameters to the report or can the logic to determine the report parameters be handled in your Silverlight application?
My specific scenario is:
I have a web page for Customer Quotes. After the user has completed the quote, they will want to be able to just click a button on that web page and have the quote print and/or email the quote. So - I would like to be able to 'call' the report (an official customer quote) from the web page - passing it the quote # as the parameter for the report.
I have checked with engineering on this and the features needed to do have added to 11.2 which will be available soon. In addition, a blog post is being written on this subject.
Please let me know if you have any questions.
Has the blog post been written - and if so, where is it?
Mihail has been working on some blog posts about reporting and will be adding other which will address you concerns. You can read his blogs at
http://blogs.infragistics.com/blogs/mihail_mateev/default.aspx
In addition, now that the product has been released the help is up online. The help can be found at:
http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0
Mihail has created a blog "How to integrate Infragistics Reporting in WEB Applications” which can be found here:
http://blogs.infragistics.com/blogs/mihail_mateev/archive/2011/11/24/how-to-integrate-infragistics-reporting-in-web-applications.aspx