Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
610
Importing existing Infragistics report into existing web application
posted

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.

Parents
No Data
Reply
  • 14517
    Offline posted

    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

Children