Hi,
Hope you are fine.
I am passing parameter from reportviewer to report like
TypeReportSource trs = new TypeReportSource() { TypeName = typeof(TYMReporting.Reports.ZoneReport1.ZoneReportTelerik).AssemblyQualifiedName };trs.Parameters.Add(new Telerik.Reporting.Parameter("ID","1"));@(Html.TelerikReporting().ReportViewer() // Each report viewer must have an id - it will be used by the initialization script // to find the element and initialize the report viewer. .Id("reportViewer1") // The URL of the service which will serve reports. // The URL corresponds to the name of the controller class (ReportsController). // For more information on how to configure the service please check http://www.telerik.com/help/reporting/telerik-reporting-rest-conception.html. .ServiceUrl(Url.Content("~/api/reports/")) // The URL for the report viewer template. The template can be edited - // new functionalities can be added and unneeded ones can be removed. // For more information please check http://www.telerik.com/help/reporting/html5-report-viewer-templates.html. .TemplateUrl(Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.731.html")) // Strongly typed ReportSource - TypeReportSource or UriReportSource. .ReportSource(trs)So kindly tell me how can i get the passed parameter on report page. i am trying to get like
public ZoneReportTelerik() { InitializeComponent(); var dal = new DataEntities(); var zoneReport = new DataSet(); var ID=this.ReportParameters["ID"].Value;}but its not getting the parameter. it always returns null. kindly guide me please.
REgards,
Faisal