I have a MVC application and am trying to pass parameters from client side to objectdatasource.
The client code is like:
@(Html.TelerikReporting().ReportViewer()
.Id("report-viewer1")
.ServiceUrl(Url.Content("~/api/reportservice/"))
.TemplateUrl(Url.Content("~/content/reportviewer/templates/telerikReportViewerTemplate.html"))
....................
.ReportSource("report.trdp", new Dictionary<string, object>() { { "parameter1", "value1" }, { "parameter2", "value2" } })
)
report.trdp is created with Reporting Designer. it is configured to get the data from objectdatasource (binding to the extension assembly and function).
The question is: how can I pass "parameter1" and "parameter2" from the client side to the extension function at the server side to limit the data query?