Telerik Forums
Reporting Forum
2 answers
274 views
Hello, 

I'm fairly new to Telerik Reporting; I just started seriously working with it yesterday at my new job. 

I need to copy a table onto a report from another report, and put it on top of another table. A report parameter will determine which one of the tables is visible. I know how to integrate it into the report except for one problem: every other page on the report that I see in the preview is blank. 

I looked at this link already:
http://www.telerik.com/support/kb/reporting/general/problem-telerik-reporting-renders-blank-pages.aspx

and I colored the background of the new table and all surrounding elements, but unless I'm looking at them wrong, none of them seem to be running off the right side of the page. 

That's what this link says: 
http://www.telerik.com/help/reporting/designing-reports-considerations-image.html

It says that if every other page is blank, then it's probably because something is stretching over the right page margin. But I just can't see what it might be. The new table that i'm putting in the report doesn't stretch any further to the left or right than the table that I'm putting it on top of. It does have an extra couple of cells on the bottom, so it stretches further downward, but those cells don't seem to be intersecting with anything else.

Could it be something else that I haven't thought about, or am I just not looking at the page margins properly? The second link mentions that the margins should be indicated as dotted lines in the design view, and I don't see any dotted lines, but like I said, the new table that I'm trying to insert doesn't stretch any further to the left or right than other elements that are on the report already.
Nick
Top achievements
Rank 1
 answered on 21 Sep 2011
4 answers
346 views
I am using Silverlight 4 and render reports via Telerik Silverlight ReportViewer. Everything is working good but when I publish the ASP.NET Web Application the Telerik.Reporting.dll & Telerik.Reporting.Service.dll are not shown in my bin folder with all my other binaries. My ASP.NET Web Application references the following dll's shown below. The other two Telerik binaries are in my bin folder after publishing is completed. Why are my Telerik.Reporting binaries not? Right now I'm having to manually add them.

Telerik.Reporting.dll 
Telerik.Reporting.Service.dll
Telerik.Web.UI
Telerik.Windows.RaduploadHandler
Massimiliano Bassili
Top achievements
Rank 1
 answered on 21 Sep 2011
2 answers
82 views
We have a Telerik report that at one time was working fine but now we have no components listed in our General toolbox. It says "There are no usuable controls in this group. Drag an item onto this text to add it to the toolbox.". Any ideas? I do seem to have WinForm components.
Julie Jaegers
Top achievements
Rank 1
 answered on 21 Sep 2011
3 answers
194 views
Hi,

I have a web application that generates a report and sends it to the browser.
Everything works fine when I export as PDF, but when I try to export as DOCX, it returns an error:
'Object reference not set to an instance of an object.'.
I guess I'm missing something then.
My project has the following Telerik DLL's in the BIN folder:
  • DocumentFormat.OpenXml.dll
  • Telerik.Reporting.dll
  • Telerik.Reporting.OpenXmlRendering.dll

I've included a screenshot of the code that errors.
Steve
Telerik team
 answered on 21 Sep 2011
2 answers
570 views
Hi All,

I have a question for binding syntax of the report list control. I set the datasource of my report code behind and can now read the values with e.g. [=Fields.Name]. Now i have a list control in my report and have to insert a binding expression for the collection which can be found in the datasource. So what is the Syntax to bind to the property e.g. Datasource.Adresses and get the Values from Adress to display them in a textbox located in the list control.

Best regards Markus
Brad Harrison
Top achievements
Rank 1
 answered on 21 Sep 2011
1 answer
101 views
Hello,
I've got an object defined as

public int ID {get;set;}
public List<Dummy>Oggetti {get;set;}

public class Dummy
{
public int Numero {get;set;}
public string Descrizione {get;set;}
}

How do I bind the list<dummy> to the detail? considering that I' need to bind the ID field of the main object to the main report?
Thanks

Paolo
Peter
Telerik team
 answered on 21 Sep 2011
3 answers
162 views
Is it possible to display multiple instances of a report in one ReportViewer?
We create Invoices every week for customers.  Each week a customer may receive multiple Invoices.
The customer would like to see all of the Invoice Reports in one scrollable window, and not use Report Parameters.

I have tried binding a ListBox to a List<Report> and to a List<ReportViewer>.
I have not tried solving this using Sub Report yet.

Thank you for any suggestions.
Charlie
Steve
Telerik team
 answered on 21 Sep 2011
1 answer
162 views
Hey Telerik-Support-Team,

I am wondering, is there a way to detect in code when the navigate back button was pressed?

The problem is that I'd like to programmatically add Headers and Footers to a report. This is currently triggered in the need datasource event of the report. It seems that when the report is cached and the back button is pressed the need data source event is not fired (as its already databound). I'd like to circumvent this behavior to add the header and footer elements regardless.

I noticed that for a picturebox the need datasource event is fired even if the user navigates back to a report.

Thank you for your help,

Regards,
Kristoffer Witt
Peter
Telerik team
 answered on 21 Sep 2011
2 answers
218 views
I need an example of how to allow users to view a report with a default date range and allow them to change the start and end dates outside the ReportViewer with SilverLight 4/ Reporting 2010 Q2 SP1/ RIA Domain Data Sources. 
Right now I just need this to work , but project team that I'm on uses MVVM but from what I understand from other posts binding is not posible (please correct me if this is wrong). 
Alexander
Top achievements
Rank 1
 answered on 21 Sep 2011
1 answer
105 views
Hello!
I have a code snipplet to create a pdf and send by mail.. but got OutOfMemory when I try to render...
Here's the code:

string strNomeAnexo = prefixoAnexo.ToString() + ".pdf";
                    Assembly assReport = Assembly.Load("CentralPaulista.Report");
                    object objReport = assReport.CreateInstance(strRelatorio);
                    if (strNomeParametro.Count > 0)
                    {
                        strNomeAnexo = prefixoAnexo + strParametro[0] + ".pdf";
                        int intCont = 0;
                        foreach (string parametro in strNomeParametro)
                        {
                            (objReport.GetType().GetProperty("ReportParameters").GetValue(objReport, null) as ReportParameterCollection)[parametro].Value = strParametro[intCont];
                            intCont++;
                        }
                    }
                    IReportDocument objDoc = (IReportDocument)objReport;
                    ReportProcessor processor = new ReportProcessor();    
                      
                    RenderingResult result = processor.RenderReport("PDF", objDoc, null); //Here's the Exception
                     
 
                    MemoryStream arquivo = new MemoryStream(result.DocumentBytes, true);

Any other way I can create this Report?
Thanks!
          
Peter
Telerik team
 answered on 20 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?