Telerik Forums
Reporting Forum
1 answer
120 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
187 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
196 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
240 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
134 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
2 answers
426 views
Hi,
I want to export the telerik report to a pdf file with the browser download option where user is given the option to Open or Save. I searched for it but couldnt find the right code for it though i have implemented it by exporting it to a pdf file and saving it on local host or client machine which is as http://www.telerik.com/help/reporting/programmatic-exporting-report.html. But this is not what i want.
I want the similar functionality as the Export link in report viewer.
How can i achieve this. Please help.
Jaspreet
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
102 views

Hi,

Would like to know , Does Telrik  reports with Wnforms have support for localization of fallowing languages with Right To Left formating support.

Arabic
Czech
Danish
Dutch
English
Estonian
Finish
French
German
Greek
Hungarian
Italian
Latvian
Norwegian
Polish
Portuguese
Rumanian
Russian
Spanish
Swedish
Turkish
Ukraine
China

Thanks

Steve
Telerik team
 answered on 20 Sep 2011
1 answer
265 views
Hello,

Please do let me know the maximum no. of pages supported by the telerik reporting tool...

Thank You
Massimiliano Bassili
Top achievements
Rank 1
 answered on 20 Sep 2011
1 answer
69 views
Hi, everybody.
I want to bind a businessobject that I generete in silverlight to a Telrik:Report. There some example but I looks like they are for winforms.

Some body can help me.

Steve
Telerik team
 answered on 20 Sep 2011
1 answer
81 views

I have several reports the have parameters passed to the SQL statement through class parameters.

public string Param1
{
    get
    {
        return (string)this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value;
    }
    set
    {
        this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value = value;
    }
}

The reports are run as follows:

IReportDocument runtimeReport;
runtimeReport = new InvOrderPackList();
this.ReportViewer1.Report = runtimeReport;
(ReportViewer1.Report as InvOrderPackList).Param1 = "='" + Request.QueryString["InvoiceHeaderKey"] + "'";

How do I convert this to use in a reportbook?

Regards, Lee

 

Peter
Telerik team
 answered on 20 Sep 2011
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?