Telerik Forums
Reporting Forum
9 answers
1.1K+ views

I can't see the report, i calculate a dataset to send it at report datasourse but i can't see anything, this is the code:

            Report miReporte = new Report();
            if(param.Count>0)
                foreach (ParametrosSP mid in param)
                {
                    miReporte.ReportParameters.Add(mid._nombre, mid._tipo, null);
                }

            miReporte.Width = Telerik.Reporting.Drawing.Unit.Inch(4);

            Telerik.Reporting.DetailSection detailSection = new Telerik.Reporting.DetailSection();

            detailSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.2);
            miReporte.Items.Add(detailSection);

            Telerik.Reporting.Table tabla = new Telerik.Reporting.Table();
            tabla.DataSource = ds.Tables[0];
            detailSection.Items.Add(tabla);
            rrv_VistaReporte.ReportSource = miReporte;
            rrv_VistaReporte.RefreshReport();

param is an ArrayList that has the parameters, rrv_VistaReporte is the Telerik.ReportViewer

Carlos
Top achievements
Rank 1
 answered on 21 Aug 2015
3 answers
958 views

I am trying to set up a Start Date / End Date Parameter for a report based on the following example but I can't get it to work. 

http://www.telerik.com/blogs/telerik-reporting-filtering-your-reports-using-report-parameters

Using the AdventureWords DB, I setup the parameters and filters per the example for Employee Hire Date and Employee ID.

If I attach the DataSource to the Report it returns all results not the filtered ones. If I remove the DataSource from the report it doesn't return any results.

Can you provide a demo of how it should be configured.

Thank you,

Jason

Jason
Top achievements
Rank 1
 answered on 21 Aug 2015
1 answer
123 views

When I create telerik report  following problem is occur,

Repeated same details 4 time.please refer the screen shot

Ellis
Top achievements
Rank 1
 answered on 21 Aug 2015
1 answer
787 views

Hi,

Is it possible to display pre-formatted text within a report?
What I am trying to do is to allow a user to edit a document through a RadRichTextBox then save the document to database using a HtmlFormatProvider to obtain properly formatted HTML.  However, when I try to display the contents of the field within an HtmlTextBox, either nothing displays or all of the formatting is lost.

What I would really like to do, is to allow the user to import their source file directly into the RadRichTextBox and save that data to database and display within a report to preserve the formatting 100%.

 

Thanks,
Ryan

Stef
Telerik team
 answered on 21 Aug 2015
4 answers
308 views
I'm trying to log the actual time that it takes to process and render a report.   I can easily determine and log the fact that my database queries are executing in sub second timings.   Yet the reports are still taking more than 15 to 13 seconds to render.   I'm working through the performance considerations.  However in order to know for sure if my changes are working I need to be able to record exactly how long the rendering/processing is taking.     I've tried wiring up the Load and Unload events of the viewer and recording the timing between those events however they aren't being fired.  Furthermore.  We intend to have a headless system which will run and render reports as part of a windows service and we want to recording the rendering time there as well.   

So the question is.  How do you time the actual rendering process?  Is there a set of events on the rendering engine I can subscribe to?

Stef
Telerik team
 answered on 21 Aug 2015
2 answers
480 views

Hi.

 I have configured the Water Mark text in properties but the water mark text was not displayed in pdf.

How can we resolve this issue.

Senthil
Top achievements
Rank 1
 answered on 21 Aug 2015
4 answers
113 views

Hi, 

 System Set UP : VS 2010 (I know, I know out of my control here), Silverlight 4 with Telerik Reports Upgrade Wizard to Q2 2012.

 

 I have been tasked with upgrading the reports in my project to the latest version. I have done this by using the Wizard which was pretty close to perfect but needed me to make a few changes to get it functional.

 

As part of the reports the existing software passes a load of parameters to the reports by using the event  

  public void BeginRender(RenderBeginEventArgs args)

 

I have debugged this and seen all of the properties being populated nicely. The problem occurs when actually in the report and trying to access some of the report parameters. All of the values are null and I cannot work out why?

 

I have a semi work around -: 

        void TNAnalysisReport_ItemDataBinding(object sender, EventArgs e)
        {           
            _aCollectionOfParameters = (sender as Telerik.Reporting.Processing.Report).Parameters;            
        }      

However this does not work when populating subreports.... I really need a fix as to why the parameter values are being populated but not passed? Is there anything I can check to see why?

Any pointers would be most appreciated.

 

Stef
Telerik team
 answered on 21 Aug 2015
1 answer
188 views

Hello, 

I have created a report which contains a Telerik.Reporting.Table object. In the designer, I set the data source of this Table object to an SQLDataSource object. At runtime, I want to retrieve some details about this data source, such as the ConnectionString or the SelectCommand used in the data source, however, when I look at the Table object in code at runtime, the data source is coming in as {Table1} instead of as an SQLDataSource, and the {Table1} data source has none of the details which I need. 

I have referred to the code at this URL: Changing the connection string dynamically

which seems to imply that the Table data source can come in as an SQLDataSource  (see the section near the end commented as "Covers all data items". However when I run this code to attempt to set  the connection string for a Table, it doesn't work because the data source isn't SQLDataSource at runtime. Has something changed since this example was posted? 

Thank you very much! 
Keith

 

Keith
Top achievements
Rank 1
 answered on 20 Aug 2015
1 answer
75 views

Hi Everyone,

I have a master report and two subreports. Initially, the master report and one subreport will be displayed.  Upon clicking a textbox("ShowDetails") on the first subreport, I need to display the second subreport and hide the first subreport.  How can I make it work please?  TIA!

Ivan Hristov
Telerik team
 answered on 20 Aug 2015
1 answer
1.0K+ views

Hi, Could you advise if it is possible to repeat column group headers on each page. I can get the table header to repeat on each page by setting 'ColumnHeadersPrintOnEveryPage' but this just gives me a merged cell above all the column group headers.

Thanks

Stef
Telerik team
 answered on 20 Aug 2015
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?