Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
export function not return
Hello,
I think problem is wep.api handling/routing.
I use previously downloaded x:\Syncfusion\15.3.0.26\JavaScript\ejservices\App_Data\Reports\Product Catalog.rdlc fro test.
I run x:\Syncfusion\15.3.0.26\JavaScript\ejservices web.api service in local, and syncfusion angular 2 example offline (sample report path routed to local server) , no problem. I see report and I get export content.
But when use our web api , report show, report print is ok, but when requesting export to any options, request goes to controller, I see with debugger , but not return export content.
Our web.api version 2.0 and use .net 4.5.1 . and config route is,
config.Routes.MapHttpRoute(
name: "ActionApi",
routeTemplate: "api/{controller}/{action}",
defaults: new {action= RouteParameter.Optional}
);
- Syncfusion.Linq.Base
- Syncfusion.Compression.Base
- Syncfusion.Presentation.Base
- Syncfusion.OfficeChart.Base
- Syncfusion.EJ
- Syncfusion.EJ.ReportViewer
- Syncfusion.Pdf.Base
- Syncfusion.XlsIO.Base
- Syncfusion.DocIO.Base
- Syncfusion.Shared.Wpf
- Syncfusion.Chart.Wpf
- Syncfusion.Gauge.Wpf
- Syncfusion.SfMaps.Wpf
Hello Again,
{{title}}
</h1>
<ej-reportviewer id="territorysales_reportViewer_Control" [reportServiceUrl]="serviceUrl" [processingMode]="localMode" [reportServerUrl]="serverUrl"
</ej-reportviewer>
import { EJComponents } from 'ej-angular2';
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app works 2!';
public serverUrl: string;
public localMode : string;
public parameters: any;
public reportData: any;
this.serviceUrl = 'http://localhost:49771/api/ReportApi';
this.reportPath = 'Product Catalog.rdlc';
this.localMode = 'Local';
}
}
Attachment: webapiapi_29fcc013.zip
- 5 Replies
- 2 Participants
-
NE nedim
- Oct 23, 2017 03:59 PM UTC
- Oct 31, 2017 09:10 AM UTC