Telerik Forums
Reporting Forum
1 answer
101 views
Hello every body. I have a report in which I show the date of the report in the header. It is working fine, but when the report is exported to excel or any other format the textbox with the date is no t showed, when I print that report all the things are printed, the problem is when the report is exported.

Some body can help me?
Steve
Telerik team
 answered on 29 Sep 2011
1 answer
150 views
Hello,

as per my client requirement i need to restrict the user can take only one copy to be print.

I am using default report view provided by teleirk and in it "print " icon is there, and upon clicking Print dialog box is there, i need to set number of copies  = 1 in this dialog box, and disable this field, so that user cannot change this value in this field , how should i do this?

Client want to disable this field as he is charging the money for another print.

Regards
Samir
Peter
Telerik team
 answered on 28 Sep 2011
1 answer
197 views
Hello 
I want to ask something. In my report i want to call the same sub report twice but with the different parameter. I have set the data source on the sub reports and is giving me the data as it should be on a individual set. After that  when I want to shown them on the Master report the second sub report has the same data columns as the first one.
What should be the problem???
Please every hint will be great, I'm facing a deadline...Thanks
Peter
Telerik team
 answered on 28 Sep 2011
1 answer
153 views
I have a few standard invoice formats that I create from the database.  Once these are produced I can display them in the ReportViewer by assigning the ReportViewer.Report property the value of the ReportBook that I have created with all of the Report objects..  That is great and it works,  now comes a requirement from the business.

1. I need to append / merge existing PDF documents that are stored in the server filesystem to the end of these newly created reports.  I can do this easily by consuming the result from the RenderReport method from the ReportProcessor class, however getting this result back into a report book format is not so easy.

So I need some ideas on how I can take my newly created Telerik reports in Report/ReportBook format and add the PDF's that I have read
into memory with iTextSharp to the end and then display in the ReportViewer.

I hope I was clear enough in my description

Thank you,



Ray
Peter
Telerik team
 answered on 28 Sep 2011
1 answer
163 views
Hello,

  Is it possible to create and execute custom VBA macros during export into Excel or Word using ReportProcessor?
  It is necessary to improve document style and formating.

Thanks,
-Andrey Popov
Steve
Telerik team
 answered on 28 Sep 2011
4 answers
110 views

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. 

  1. In your web application, verify you have the following assemblies referenced and add them if you do not:
    1. Telerik.Reporting
    2. Telerik.Reporting.ImageRendering
    3. Telerik.Reporting.Processing
  2. Add the ExportToPDF() method (see code example below) to your application.
  3. Call the ExportToPDF() method.  For example you might call this within a button click event handler for a "Run" button:  
Steve
Telerik team
 answered on 28 Sep 2011
4 answers
283 views
Hello,

I am using the Silverlight report viewer to display reports via the Telerik WCF service.

The viewer is secured behind a layer of authentication, but I am concerned about the security of the WCF service endpoint, because our developer has made reports with user credentials hardcoded in the connection string, so if you stumbled across the endpoint, you would still be able to access the reports.

What I'd ideally want to do is make sure that all users of the WCF service are authorised.
I can't find any documentation about this anywhere.

Is there a solution?
Are there any approaches that I should be considering?

Thanks,
 Ed
Jaime Bula
Top achievements
Rank 2
 answered on 28 Sep 2011
3 answers
87 views
Hi,

I have been having a problem displaying a simple report in a winforms app with the report viewer. I followed the tutorial videos, but do not know what is going wrong.

Below is what I get when I select the Report Property of the Report Viewer. In the video, the reports would show up in this list. The name of the report I want to appear in this list is TestReport.cs





Below is how my solution is setup:



And since I could not select my report via the property menu, I tried to do it in code like this, which also failed:



And finally, here is the error I am getting when running the app and click refresh.




My main question is, how do I set the report via the report property of the report viewer?

My second question is, how do I set which report to show via code?

Thanks in advance
ajpetersen
Top achievements
Rank 1
 answered on 27 Sep 2011
4 answers
92 views
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 :

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;
        }
Steve
Telerik team
 answered on 27 Sep 2011
1 answer
380 views
Good .. I am new to telerik reporting, I am studying the Free version, because  I'm search of a reporting application to implement in my project.

1 - Suppose, that I have records of patients in a sanatorium, and I have to print each on a separate medical history ... I can be done with telerik reporting.

2 - I would place a subreport in report at the bottom of the page, to appear at the end of each sheet. in the footnotes.

3 - If possible create events, that run in each cycle of a new line generation of reports. where specific activities.

4 - You can change position and change the size, using a base value of database, example:
  if (data.name == true)
        textbox.location = (data.X, data.Y);
        textBox.Size = (data.W, data.H);


excuse my bad English, so my ideas in Spanish writing to explain better.

------ Spanish.

1 - Supongamos, que tengo Historias Clinicas de Pacientes en un Sanatorio, y tengo que imprimir cada historia clinica en hoja separada... se puede realizar con telerik reporting.

2 - Se puede colocar en un reporte un subreporte en la parte inferior de la pagina, con el fin de que aparezca al final de todas las hojas. en el pies de pagina.

3 - Si es posible, crear eventos que se ejecutan en cada ciclo del reporte en la generación de una nueva línea de informes (detail) y realice actividades específicas.

4 - Se puede cambiar de posición y cambiar el tamaño te un TextBox, tomando de referencia un valor la base de datos, por ejemplo:
 if (data.name == true)  
       textbox.location= (data.X, data.Y);
       textBox.Size=(data.W, data.H);
 
5 - Telerik report me permite asociar en un solo PDF, varios reportes. me explico
Se solicita los reporte del un dortor, el doctor tienes asociados un conjunto de pacientes, ellos un conjuntos de reportes según el caso. la idea es que se quiere generar un reporte que contenga todos los reportes que se llame desde el doctor.
(Me enredo explicando esta idea en ingles.)

Steve
Telerik team
 answered on 27 Sep 2011
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?