Telerik Forums
Reporting Forum
5 answers
278 views
Hello,

I am implementing  project using asp.net mvc 4 platform. I have used telerik report viewer in this project in order to view and export reports.  The requirement is that the report needs to be exported using code and set a dynamic image in this report. There was no problem in exporting the report using code, but i am facing problem to set an image to this report dynamically to the report using code. Specifying again, this needs to be implemented using MVC 4.

The image needs to be set on certain selection e.g. if a company name is selected from list, the logo of that company would be the image to set dynamically(through code).

Someone kindly help me

Thank you,
Stef
Telerik team
 answered on 20 Jun 2014
15 answers
1.5K+ views
I have a report with groupings. There are some groups which go for several pages.
Obviously, if you're looking at a page you want to know which group the data items belong to.

The simple solution is to set the PrintOnEveryPage property to True.

The problem is, by looking at a page you cannot tell if this is the start of the group or the continuation from a previous page.

If I can just get it to look slightly different, or display an additional text box ("continued) that would be good.

Is there some Formatting Rule I can apply here?


Sheeraz
Top achievements
Rank 1
 answered on 20 Jun 2014
1 answer
69 views
I've managed to create a report with multiple panels and nested (collapsable) table and table rows that worked properly with the 6.2.12.1123 version of the Telerik Reports. Upgrading to the latest version (8.0.14.507) proved to be a great disaster since most of report functionality does not work as previously thus made upgrade impossible.

To be more specific, I've encounter the following issues:
 * Print layout mode produces additional blank page at the end.
 * Report docked panels do not print correctly (they overlap)
 * Report headers expand without reasons.

To demonstrate the issues, I've attached several files showing the issues on this thread:
http://www.telerik.com/forums/how-to-suppress-conditional-text-boxes-and-nested-tables#035DsYbtL0iaaLao3kH7pQ

I would like some help regarding the issues. 

Many thanks
Chris


Stef
Telerik team
 answered on 20 Jun 2014
1 answer
152 views
Hi there,

is it possible to have a list of objects with three lists inside, create a graph inside a list, bind the the list to the parent list and show data from two of the child lists in my graph?

I did this with tables and that worked perfect for me, but I have no idea if it works with graphs and if, how it could work.

Any hint?

Best regards
Manfred
Nasko
Telerik team
 answered on 20 Jun 2014
2 answers
129 views
Hi Telerik Team!
Our firm is considering of using telerik reports.
We are going  to show it on Sharepoint web.
We also need to manage it for example in WPF application or by SharePoint Web Part. I know there is standalone designer where we can design or modify reports, but now I have to download report.trdx modify it in standalone designer, save it and again upload it to the sharepoint.

Is there a designer as a control which I could embed in my applications?

For example I have got report.trdx on Sharepoint list, by one click I open it in
designer and after modification I save it again to the Sharepoint List.

Second question:
Is there possibility of using custom controls as a parameter value chooser? For example a tree or slider?

Best Regards
Tomek
Tomasz
Top achievements
Rank 1
 answered on 20 Jun 2014
3 answers
95 views
This code worked with Telerik 2011 but fails to work with Telerik 2014.  It generates: "An exception of type 'System.NullReferenceException' occurred in Reporting.dll but was not handled in user code".

   " Public Shared Sub ConfigureCslReport(ByRef Report1 As Telerik.Reporting.Report)
         ' Change the design-time connection string to the run-time connection string
 
        CType(CType(Report1.Items("ReportFooterSection1").Items("SubReport1"), Telerik.Reporting.SubReport).Report.DataSource, Telerik.Reporting.SqlDataSource).ConnectionString = Reporter_Common.GetConnectionString("SHPR")
 
        CType(CType(Report1.Items("ReportFooterSection1").Items("SubReport2"), Telerik.Reporting.SubReport).Report.DataSource, Telerik.Reporting.SqlDataSource).ConnectionString = Reporter_Common.GetConnectionString("SHPR")
 
        CType(CType(Report1.Items("ReportFooterSection1").Items("SubReport3"), Telerik.Reporting.SubReport).Report.DataSource, Telerik.Reporting.SqlDataSource).ConnectionString = Reporter_Common.GetConnectionString("SHPR")
 
        CType(CType(Report1.Items("ReportFooterSection1").Items("SubReport4"), Telerik.Reporting.SubReport).Report.DataSource, Telerik.Reporting.SqlDataSource).ConnectionString = Reporter_Common.GetConnectionString("SHPR")
     End Sub"

Since 90% of the report works, why do these 4 SubReports in the Footer section fail?  The "Reporter_Common.GetConnectionString("SHPR")"  just returns the SQL connection to the database and is used without errors in the rest of the report.

Any ideas?
Stef
Telerik team
 answered on 20 Jun 2014
2 answers
621 views
Hello,

I'm using Telerik reporting and I have had two datetime report parameters to my report: FromDate and ToDate.

I have set the default value of ToDate parameter to today's date and I would like to set the default value of FromDate to 12 months before today's date. Is there any way of doing that using the functions given on the Edit Expression window (in ReportParameter Collection Editor)?

Thanks in advance!
Nasko
Telerik team
 answered on 20 Jun 2014
1 answer
502 views
Hello,

I require to create Telerik Label Report with following configuration,

On Web Page,
- There will be one Drop Down List of various labels types like Avery 5160 or 5162 etc, user can select the Label type from this DDL.
- There will be two TextBox like Row and Column, where user can specify the Row and Columnnumber into which the single address can be display.
- After selecting Label type and inserted Row and Column, user will click on 'Generate Report' button.
- When this button clicks, Telerik will create report for selected label type and insert the address at specified position (row and Column)

Is this possible using Telerik Reporting? If yes then how?

Thank you,
Jatin Mandalia
Stef
Telerik team
 answered on 19 Jun 2014
12 answers
491 views

I’m having some issues with the report rendering when using conditional visibility and lists.  

To start with, the text box with conditional visibility ( based on the value of the field) doesn’t “suppress” the area of the panel, which causes problems with single line text boxes (this is reproduced in the second case/page where there are no comments on Sheet.

Secondly, when there is no items on the nested table inside a list and the “empty” space is not “suppressed”. This case is shown in the fifth case/page where the Education doesn’t contain any Certificates.

 

The conditional visibility is implemented in all cases with Bindings such as:

Fields.CertificateList.Count >0

Here is a brief data structure:

 Sheet

                 Description

                 Score

                 Comments (multiline)

                List<SheetTrace>

                List<Education>

 

SheetTrace

                Date

                 Username

                Action

                Comments (multiline)

 

Education

                 Title

                School

                Comments (multiline)

                List<Certificate>

 Certificate

            Class

            Grade

The report is designed with the following layout:

masterPanel -> maps to Sheet

panel1 -> maps to SheetTrace and contains a Table object to show  traces.

panel2 -> maps to Education and contains a List which shows Education items and a nested Table which shows Certificates.


The layout of the report and a set of sample screens are attached.

The installed Telerik report version is :Q2 2013, 7.1.13.612 under Visual Studio 2010 SP1
A complete self-contained project is available at your request.

Thanks in advance,
Chris

 

Nasko
Telerik team
 answered on 19 Jun 2014
3 answers
137 views
Hi I'm trying style selectors but having trouble to follow your guide in version Q3 2012. 
Here are the steps I have done:
1. Add a new stylerule in the StyleRule collection editor
2. Click on Selectors ellipse
3. Add a DescendantSelector
? - the newly added DescendantSelector does not have child selectors property, only a value. 
At this point I don't know how to add child selectors to it.

I would like to create a style rule so that every TextBox in the ReportHeader has blue, calibri font..

Thanks,
Roland
Peter
Telerik team
 answered on 19 Jun 2014
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?