I am new to telerik reporting.
I currently have a MVC web application that shows a telerik report. I want to get and pass multi parameter to telerik report given by input from stored procedure.
Now I want to know how to bind and load data to telerik report. anyone can help me?
1 Answer, 1 is accepted
answered on 09 Jun 2014, 02:03 PM
The DataSource Components do not support MultiValue Report Parameter for Stored Procedures because it is based on ADO.NET and does not allow you to pass a collection of values (set, array). The SqlDataSource component supports parameterized SQL queries by associating the parameters you add to the Parameters collection with placeholders in the SelectCommand query. Parameter values can be evaluated with any expression which conforms to the common expression syntax supported by the reporting engine. This grants you a great deal of flexibility on how you can supply your SQL queries with parameters. Unfortunately the above approach is not applicable for stored procedures.
For a workaround sample check out the following forum thread.
For more information on the report data binding check out the Connecting to Data help article.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.