Hello Telerik,
I'm using 5.1.11.713, and I'm developing a new report, when I print or export it I don't see a subreport (and a field filled with .Value property)
If I set UseNativePrinting to true it prints it....
the only strange thing I'm doing is so :
Any suggestion? I'm calling it from silverlight
I'm using 5.1.11.713, and I'm developing a new report, when I print or export it I don't see a subreport (and a field filled with .Value property)
If I set UseNativePrinting to true it prints it....
the only strange thing I'm doing is so :
if (tipoLegame != -1) { switch (tipoLegame) { case 0:
subReportAnagrafica.ReportSource = new SubPersonaFisica(); break; case 1:
subReportAnagrafica.ReportSource = new SubPersonaGiurica(); break; case 2:
subReportAnagrafica.ReportSource = new SubSCO(); break; } subReportAnagrafica.ReportSource.DataSource = dettagli; SetField(dettagli.Field); var risultatoDomande = reportFactory.GetListaDomandeRisposteUtente(IDUtente, IDQuestionario); this.table1.DataSource = risultatoDomande;Any suggestion? I'm calling it from silverlight
... public ReportGen(int idQuestionario,int idCliente) { InitializeComponent(); this.IDQuestionario = idQuestionario; this.IDCliente = idCliente; reportViewer.ReportServiceClientFactory = this; reportViewer.Report = myreport; if (CanUserExportToExcel()) { btnEsporta.Visibility = System.Windows.Visibility.Visible; } else { btnEsporta.Visibility = System.Windows.Visibility.Collapsed; } this.reportViewer.RenderBegin += new RenderBeginEventHandler(reportViewer_RenderBegin); this.Closed += new EventHandler<WindowClosedEventArgs>(DettaglioReportCliente_Closed); } private void reportViewer_RenderBegin(object sender, RenderBeginEventArgs args) { args.ParameterValues[STR_PARAM_QUESTIONARIO] = IDQuestionario; args.ParameterValues[STR_PARAM_IDUSER] = App.UtenteLoggato.IDInterno; args.ParameterValues[STR_PARAM_IDCLIENTE] = IDCliente; }