or
@{ var typeReportSource = new TypeReportSource() { TypeName = Model.ReportQualifiedAssemblyDetail }; foreach (var parameter in Model.ReportData.Parameters) { typeReportSource.Parameters.Add(parameter.Name, parameter.Value); } @(Html.TelerikReporting().ReportViewer() .Id("ReportViewer") .ServiceUrl("/api/reporting/") .TemplateUrl("/ReportViewer/templates/CustomReportViewerTemplate.html") .ReportSource(typeReportSource) .ViewMode(ViewModes.PRINT_PREVIEW) .ScaleMode(ScaleModes.FIT_PAGE_WIDTH))}
Is there something I need to do to get the parameters to appear in the report class, as parameters are rendered useless if I can't actually use them.
Mark
In some reports we use the background image.
Sinds the update from Q2 2012 to Q3 2013 SP1 we needed to change the way to set a backgound image.
From
report.Style.BackgroundImage.ImageData = imageData
to
report.PageSettings.BackgroundImage.ImageData = imageData
Sinds this change the backgroundimage is not fully visible anymore. The data from a detail section / subreport is now a overlayer above the backgroundimage.
How can i prevent this?
public static string GetInt(int orgId){ return "Get Int: " + orgId.ToString();}public static string GetText(string orgId){ return "Get Text: " + orgId;}