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,
The above steps refer to adding the report to an existing web application. When you originally created the report, I am assuming you created the project as a class library (as in the documentation). There are two things you can do either add the entire class library project to the web application by using add existing project (right click on solution - add - existing project) or alternatively adding a reference to the assembly created when the report class library was compiled (right click on references and add reference).
Please let me know if this clarifies this or if you have additional questions.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
I do not have the 'add existing project' option that you speak of. Here are my options when I right click on the solution.
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
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
Has the blog post been written - and if so, where is it?
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.
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.