Telerik Forums
Reporting Forum
2 answers
237 views
I'm getting some extra pages when I export to Word.

I was getting this previously when an item exceeded the width of the page, but I cannot identify this as the existing problem.
When I change the background color of items to see if any exceed the page width, it appears that the item may calculate too wide, but renders within the page width so the finished rendered product is correct, but the extra page break has already been triggered.

I have a bunch of tables that are stacked (about 12) and some do not render because they lack content on specific loop iterations.  
I apply a post init cleanup that re-stacks the tables so that they are right on top off each other but stepped by a couple pixels so they will display properly by auto growing without extra white space when a table isn't rendered.

This issue does not happen when exporting to PDF, RTF or when I change the page width, but the vertical padding is different so I'm assuming its how the Height is calculated from the Auto Grow.
Steven
Top achievements
Rank 1
 answered on 05 Apr 2013
2 answers
77 views
Hi, 

I'm consulting a table from my DB with 500 registers, but in my report viewer only show 2 pages. How I can configure to my report viewer show all items?

I'ts my source code:


        private void carregareRelatorio()
        {
            Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();

            uriReportSource.Parameters.Add("Empresa", Session["Empresa"]);
            uriReportSource.Parameters.Add("Status", Session["Status"]);
            uriReportSource.Parameters.Add("DataInicial", Session["DataInicial"]);
            uriReportSource.Parameters.Add("DataFinal", Session["DataFinal"]);
            uriReportSource.Uri = "RelatorioBeneficiarios.trdx";

            rwBeneficiarios.ReportSource = uriReportSource;
        }
Ricardo
Top achievements
Rank 1
 answered on 04 Apr 2013
1 answer
268 views
hi ,

I have to display the report in telerik report designer standalone , with multi value for parameter i have passed multi value in report parameter editor with data type string and it has subreport i have given here also as string type, but when i preview the report it s showing the error as "input value for parameter is incorrect". How to resolve this ,


and my requirement is ,

when i selected multiple in parameter dropdown
 report has to display as ,
Example,

Parameter 1
table 1
table2
Note : Parameter 1 has to bind with table 1 and table 2
Parameter 2
table 1
table 2
Note: Parameter 2 has to bind with table1 and table 2

Please help,

Thanks in advance
Petio Petkov
Telerik team
 answered on 04 Apr 2013
3 answers
124 views
I don't think it's possible, but I would like to inherit parameter and external style sheets from my base report.
I basically have a base report that has common stuff that I always put in the header and footer and all my new reports use that as a base.  That works great, but it doesn't seem to work for parameters or stylesheets.
Everytime I rebuild my report it always adds another stylesheet to my report.  I assume it's grabbing it from the base and sticking it in there.  Same with parameters.  There are a few parameters that I always use in all my reports, like username and token for security.  It would be nice if it could inherit those.  
Elian
Telerik team
 answered on 04 Apr 2013
1 answer
387 views
Hi Telerik Team!

I´m trying generate a master report with subreports, the subreports are tables but every table are generated with differents numbers of columns and every subreport the datasource is one datable, there is one solution for this? 

Thanks.

Regards
Petio Petkov
Telerik team
 answered on 04 Apr 2013
1 answer
35 views
how I can get the value of a column as row number, to put in another column or do a calculation with this value
Petio Petkov
Telerik team
 answered on 04 Apr 2013
1 answer
52 views
Where can I find information on what browsers and versions are supported by the report viewer?
IvanY
Telerik team
 answered on 04 Apr 2013
1 answer
216 views
I would like to break my report into reusable "pieces" along the lines of reusable components for code. Ideally, I would like to have a library of report components that are assembled to create the final report. I would like to determine which sub-reports are included in the final report at report generation time based upon data values.

Essentially, this would be a "data-driven" report whose content would vary based upon user entered data on a web page. I would estimate the need for 25-30 report "pieces" per report.

Any insights into whether the Telerik Reporting tool can achieve this requirement appreciated.
IvanY
Telerik team
 answered on 04 Apr 2013
1 answer
44 views
I apologize if this has been brought up before and I missed it.

Setup an ObjectDataSource with run-time and design-time parameters. It all looks good.
Now change the design-time parameters. On closing the wizard, the datasource is queried using the original values.
Go back into the wizard and just progress through to Finish. The datasource is re-queried using the new/current values.

Is anyone else noticing that in the current release? (7.0.13.220)

This is happening to me a lot, in different projects, and over periods of time, reboots, etc.

Thanks.
Elian
Telerik team
 answered on 03 Apr 2013
2 answers
120 views
I have an assembly that provides data to a report.
I have a project with a report that references the assembly.
In the report I set the NeedsDataSource handler to call my assembly to provide the data.

I found that making a change and rebuilding the data assembly does not result in report changes. I was confounded by this because I have a logging mechanism which consistently showed an old version of my code being executed by the Preview functionality. Changes are reflected from the designer. My assembly is called and the log shows the latest version being executed Designer. But Preview always executed the old code.

I did a Clean, then Rebuild. I changed every component to ensure something different was in the object module. I manually deleted the .DLL and .PDB files from the project directories, completely deleted everything under \obj. The rebuild put new files in their place, but Preview always showed the original log data. I closed the solution and re-opened. That didn't help. I changed the assembly reference to Copy Local = False. No joy.

I got another tip that an old assembly was being cached somewhere, because I changed my class.getdata() call in NeedsDataSource to class.getDataNew() and changed the corresponding method in the data assembly. Everything compiled, Intellisense showed it could find the changed method name. But in Preview it said it can't find class.getdata(). Obviously it was holding onto something and not using the code in my report class.

I found that when I completely closed down Visual Studio (2010) and re-opened the report project, that the latest data assembly was being referenced. This confirms there's some caching going on. This could be because the original assembly is reflected-upon and thus stored somewhere, and from then forward it's That assembly which is used rather than the referenced assembly.

It looks like the cache is here:
C:\Users\{user}\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies

You can't delete the directories in there when VS is running. On build (and use by the Designer) a single directory is created for each project (or each assembly in the project). On rebuild after access from the Designer, another directory is created for rebuilt assemblies. The original assembly is still there and can't be deleted. THAT is what's being referenced.

With the above info I did a search in the forum for ProjectAssemblies and found this thread:
http://www.telerik.com/community/forums/reporting/telerik-reporting/degign-view-error.aspx
So I copied my assembly to C:\Program Files\Telerik\Reporting Q1 2013\Bin, reset the reference there, and saw that version. Rebuilt my assembly, copied it to that location, closed and restarted the designer to get it to refresh. The Designer sees the new assembly, the Preview does not.

I can get by this by constantly restarting Visual Studio, but oh what a pain! Any other remedies?

Thanks!
Elian
Telerik team
 answered on 03 Apr 2013
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Iron
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?