Telerik Forums
Reporting Forum
1 answer
72 views

Howdy,

So, like the title says - I have a simple report which uses the Report Header section to display a graphic. The header also has a border around it, as does the detail section. In design as well as during runtime it looks good - however, open print preview and it all goes down hill :)

I've attached two screenshot that show the issue. I've seen similar behavior when controls overlap etc - but there is none of that in this report (at least as far as I can tell.)

Regards,

Andreas

IvanY
Telerik team
 answered on 17 Aug 2012
3 answers
128 views
Hello,

I have like 20 reports to create...
But, the first page of the 20 reports are always the same.

Is it possible to do like a "Master page" for the first page ?
Because if one day I have to modify the first page I would like to do it once... And not on each reports.

Thank you

Jean-Yves
Peter
Telerik team
 answered on 17 Aug 2012
10 answers
603 views
Hi,

I am using telerik for reporting in my web application. I have 2 projects
1. ReportLibrary
2. Web application

I have my connection string in web.config file of my web application project.
As I have used reporing wizard to create my reports.....it saved new connection string in app.config file.
I want to use the same connection string which is there in the web.config file.

So How do we do that?
any answer would be appreciated.
Peter
Telerik team
 answered on 17 Aug 2012
2 answers
144 views
I have been using Reporting Q2 2011 in VS 2010 and am wanting upgrade to the newest version. Previously I would download the msi, install it and VS would ask if I wanted to upgrade.

This time I needed to use the TelerikControlPanel to get the version installed. However, VS did not offer to auto upgrade and when I selected the upgrade wizard from VS I got the error message "There are no references to upgrade in the current solution!"

I found the instructions for the manual upgrade here http://www.telerik.com/support/kb/reporting/general/upgrading-to-a-newer-version-of-telerik-reporting.aspx but before proceeding want to see if I was missing something obvious.

Thanks,

Matthew
Tomica
Top achievements
Rank 2
 answered on 17 Aug 2012
2 answers
282 views
Hi... I'm pretty new to reporting and I need some help solving a problem..

Firstly, my datasource is a collection of items returned from a web service.  The items can be parents of other items.  I need to create a report that shows all items where IsKey is true.  Then, for each item below that, I need to show the children.  The problem is that since each child can in turn have children, the report needs to be recursive.  My subreport has a parameter and filter on the ID.  My first idea was to add a reference to the same subreport but it says I can't because of circular references.  Is there a way to do this?

Here is an example class

pubic class foo
{
    public Guid ID;
    public String Name;
    public Boolean IsKey;
     
    public List<foo> Children;
}

My report needs to look something like this (where the level can be infinite):

Report Name

--------------



Item.Name
---Item1.Child1.Name
   ---Item1.Child1.Child1.Name
       ---Item1.Child2.Name
       ---Item1.Child3.Name

---Item2.Name
Barry
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
104 views
My report runs fine in the viewer and you can still export it from the viewer, but programatically exporting the report now fails after going from 2012 Q1 to Q2 (6.0.12.215 to 6.1.12.611).

Code:
Telerik.Reporting.Report rpt = new TED.Web.Defender.DReport { DataSource = reportData };
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = rpt;
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);

Error:

{"Object reference not set to an instance of an object."} 

Stack trace:

   at Telerik.Reporting.Processing.ExternalStyleSheetAdapter.Fill(ICollection`1 styleRules)
   at Telerik.Reporting.Processing.Report.LoadExternalStyleRules()
   at Telerik.Reporting.Processing.Report.InitializeItem()
   at Telerik.Reporting.Processing.ItemFactory.CreateItem(Object itemDef)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessReport(ReportSource reportSource, IDictionary processingContext)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessReport(ReportSource reportSource, Hashtable deviceInfo, Hashtable renderingContext)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo)
   at Defender_DefenderReporting.ExportReport() in c:\dev\pronet\TedProjects\Trunk\TED\TED.Web\Defender\DefenderReporting.aspx.cs:line 423
   at Defender_DefenderReporting.cmdExportReport_Click(Object sender, EventArgs e) in c:\dev\pronet\TedProjects\Trunk\TED\TED.Web\Defender\DefenderReporting.aspx.cs:line 466
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Peter
Telerik team
 answered on 16 Aug 2012
1 answer
355 views
I have a fairly simple scenario that hopefully someone else has encountered and knows how to solve.

In a report, I have a pretty normal table of fields that show information about a tutoring session.  Under this, I have a field that shows a note that was entered by the session's teacher, and then under that I have two more subreports.

If the note is empty, I make the textbox invisible, however the location of the other controls (i.e. the sub reports below the note field) is not relative / dynamic, so when the note field is not visible, there's a whitespace gap in its place that I would like to get rid of.

Is there a way, without having to programmatically alter the location of every other control on the report, to accomplish what I want?

Thanks!
IvanY
Telerik team
 answered on 15 Aug 2012
1 answer
145 views
Hi,

I have a subreport within a table row to display subrecords of the current row (see image1). The problem is that the row does not grow with the contents of the subreport. Is this possible?

Thanks in advance
IvanY
Telerik team
 answered on 15 Aug 2012
1 answer
389 views
I apologize if I put this in the wrong place or if it has been answered already. ;-)
I have this error:
  • An error occurred during local report processing.
    • The definition of the report 'Reports\RentalPriceByJobAll.rdlc' is invalid.
      • The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.
Visual Studio 2010, MSSQL 2008R2 but original database was developed with 2005. Report Viewer 10.0.0.0
Site server - Windows 2k3
 Let me know if you need more info. 

And thank you in advance!

Erica
Peter
Telerik team
 answered on 15 Aug 2012
1 answer
81 views
I appreciate that you can catch an error raised by a report in a viewer but can you catch an error raised by a report within a reportbook displayed in a viewer?

Paul
Top achievements
Rank 1
 answered on 14 Aug 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?