Just some feedback - I have no clue what's going on here but here is my code that does indeed seem to set the default value for multi-value parameters to all available options in a custom resolver:
Thanks Katia.
ReportConnectionStringManager csm =
new
ReportConnectionStringManager(providerConnStr);
var appPath = HttpContext.Current.Server.MapPath(
"~/"
);
var reportsPath = Path.Combine(appPath,
"Reports"
);
var uri = Path.Combine(reportsPath, report);
var sourceReportSource =
new
UriReportSource() { Uri = uri };
reportInstance = csm.UpdateReportSource(sourceReportSource);
//Set parameters
foreach
(var reportParm
in
(reportInstance
as
InstanceReportSource).ReportDocument.ReportParameters)
{
if
(reportParm.Name.ToLower() ==
"Department"
.ToLower())
{
reportParm.Value =
"= AllValues(Fields.Department)"
;
}
}