We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfReportViewer with dynamic report

Thread ID:





108402 Apr 18,2013 09:49 AM UTC Apr 19,2013 12:33 PM UTC WinRT 1
Tags: SfReportViewer
Thorsten Liborius
Asked On April 18, 2013 09:49 AM UTC

Hi there,

I've adopted your sample report demo (SSRSReportDemo.xaml) and tried to run it in my windows store app. I'd like the user to enter the report name, credentials, etc. and after pressing a button the report gets rendered.
I copied the following source from your sample, trying to dynamically load your Adventureworks-example-report:

this.reportViewer.ReportPath = @"/SSRSSamples/Territory Sales";
this.reportViewer.ReportServerUrl = @"";
this.reportViewer.ReportServiceURL = @"http://ssrs.syncfusion.com/ReportSampleService/ReportingService.svc";
this.reportViewer.ProcessingMode = ProcessingMode.Remote;
this.reportViewer.ReportServerCredential = new System.Net.NetworkCredential("ssrs", "RDLReport1");
this.reportViewer.ReportLoaded += (sen, arg) =>
List<DataSourceCredentials> crdentials = new List<DataSourceCredentials>();

foreach (var dataSource in reportViewer.GetDataSources())
DataSourceCredentials credn = new DataSourceCredentials
Name = dataSource.Name,
UserId = "ssrs1",
Password = "RDLReport1"


As soon as I try to replace the hard coded credentials in the Report_Loaded-Event, the data isn't loaded anymore. It doesn't matter if I run the code in the UI-Thread, as Runasync, or if I get the username/password from member/static variable. Even when I tried putting the username/password in a constant - the data isn't loaded anymore!

So please have a look at this. 

Ragavan G [Syncfusion]
Replied On April 19, 2013 12:33 PM UTC

Hi Thorsten , 

Thanks for your interest in syncfusion products .

This issue will be fixed in our upcoming release , which will be available in mid of  May 2013.

Thanks ,

Ragavan G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon