Hi Team ,
After updating version of Telerik assemblies, Itemdatabound event[I have attached one screenshot for reference (its written in .vb file)] is getting called while creating report as well while printing report. but I don't want it to get called while I am printing report. Is there any way that I can set autopostback(in telerik report) to false in telerik report ? Or any other solution will be appreciated to call Itemdatabound event only while creating report and not while printing.
Anyone can help me ?
Kind regards,
Payal
Hi,
I have a problem when I try to print report in controller. The thing is; it is working locally but when I deploy the project to iss I am getting error message says; "System.InvalidOperationException: No or invalid printer error on IIS server."
// Obtain the settings of the default printer
System.Drawing.Printing.PrinterSettings printerSettings
= new System.Drawing.Printing.PrinterSettings();
// The standard print controller comes with no UI
System.Drawing.Printing.PrintController standardPrintController =
new System.Drawing.Printing.StandardPrintController();
// Print the report using the custom print controller
Telerik.Reporting.Processing.ReportProcessor reportProcessor
= new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.PrintController = standardPrintController;
Telerik.Reporting.TypeReportSource typeReportSource =
new Telerik.Reporting.TypeReportSource();
//// reportName is the Assembly Qualified Name of the report
//typeReportSource.TypeName = reportName;
// Create a new report source pointing to report definition
var reportSource = new UriReportSource();
reportSource.Uri = entity.ReportName;
foreach (var i in entity.Parameters)
{
reportSource.Parameters.Add(new Parameter(i.Key, i.Value));
}
reportProcessor.PrintReport(reportSource, printerSettings);
return null;
Please suggest,
Thanks
Hey all, I built my SQL query elsewhere and want to pass parameters to it with @param style. I inserted it in "Select Statement" window and created parameters in reporting with values, yet it doesnt map. If I do it with built-in query builder, it maps and works, simply because in next page it allows you to put the parameter location like @param will be equal to '= Parameters.slevel.Value'
But I can't use built-in query builder in this project, how can I make this work?
Thanks!