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 in WinRT does not seem to allow parameters

Thread ID:





110103 Jul 19,2013 04:22 AM UTC Jul 19,2013 11:06 AM UTC WinRT 1
Tags: SfReportViewer
Richard Sebastian
Asked On July 19, 2013 04:22 AM UTC

I have a report version that is very similar to examples.   My report renders just fine in all respects except that the viewer itself will not show parameters button (disabled).

I have added SetParameters() giving it the proper list and type.  Calling the GetParameters() function directly after setting returns an empty list.

All setting and getting are done within OnLoaded  event handler as indicated

this.reportViewer.ReportLoaded += reportViewer_ReportLoaded;

void reportViewer_ReportLoaded(object sender, EventArgs e



  _viewModel.Report.SetParameter();  // Set here

  _viewModel.Report.UpdateDataSet(); // Not here


// Never in the AppBar

Can anyone help?







Ragavan G [Syncfusion]
Replied On July 19, 2013 11:06 AM UTC

Hi Rinchard ,


Thanks for your interest  in syncfusion products .


If the report not having Reportparameter we have disabled parameter option , Through SetParamters you can only values for corresponding parameters . We have attached Sample ReportViewer Application  for the requirement .


Code Snippet to set parameter


Set Parameter :

List<ReportParameter> parameters = new List<ReportParameter>();

ReportParameter param = new ReportParameter();

param.Labels.Add("LableName"); // label name       

param.Values.Add("Values"); // value

param.Name = "ParameterName"; // Parameter name for to set values






Please let me know if you have any questions .


Thanks ,

Ragavan .



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