I'm currently working with the Standalone Telerik Report Designer and the ASP.NET WebForms
component in the .aspx file.
This is an example of a DataObjectMethod that I'm using for the report.
, int> GetContactTotals(string connStr)
var bllCont = new BLLTotals(connStr);
It will build and display data fine when I pass in a default connection string in the Report Designer, however I want to be able dynamically change the connection string at runtime for the report as it will be using different customer databases. I've tried adding a Report Parameter in the Report Designer, as well as adding a parameter to the Report Viewer component in the .aspx file and setting it from code behind, however I just can't get it to work.
Is there something I'm missing? Or would this be the correct way to approach this type of problem.