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. Image for the cookie policy date

SfReportViewer in WinRT does not seem to allow parameters

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?







1 Reply

RG Ragavan G Syncfusion Team 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 .


Live Chat Icon For mobile
Up arrow icon