Hi
I'm going through the documentation and cannot find the assembly in 1.2 below.
Where can I find this assembly???
To create a PDF and open it directly within a webform, use the ReportProcessor object to create a stream of bytes and write those bytes to the ASP.NET Response object.
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;... 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; }
Dim report As Telerik.Reporting.Report = DirectCast(Me.ReportViewer1.Report, Telerik.Reporting.Report)
Dim txt As Telerik.Reporting.TextBox = TryCast(report.Items.Find("titleTextBox", True)(0), Telerik.Reporting.TextBox)
txt.Value = "
Updated Title Text"
How would I do the equivalent for the Datasource name, connection string or select command?
I need a clue as to the syntax and form, as the above "find" for a text control doesn't seem to apply.