Telerik Forums
Reporting Forum
1 answer
176 views
Is there an example where it shows how to connect to Oracle database to retrieve data for a report?

Thank You
Maher
Maher
Top achievements
Rank 1
 answered on 02 Jan 2009
3 answers
541 views
HI,

I'm trying to assign datasource to a subreport in the masterreport after InitializeComponent() and the data doesn't seem to be loading. I've tried with SqlDataAdapter, DataSet, I've also tried assigning in the needdatasouce event and nothing seems to work. Please let me know how I can do it. I also need to pass parameters from the master to the subreport at the time of loading (not from any datafields or textboxes but predetermined).

public masterform()
{

InitializeComponent();

//instantiate subreport form here.

 

//I get SqlAdapter da here

 

 

 

this.detailSubReport.ReportSource = subreportform;

 

 

this.detailSubReport.ReportSource.DataSource = da;

 


}
Thanks,
Laxmi
Ivan
Telerik team
 answered on 30 Dec 2008
4 answers
306 views
Hi,

I need to display link (URL) inside report, and when user click on link, it is open in browser. Is it possible ?
Milen | Product Manager @DX
Telerik team
 answered on 29 Dec 2008
3 answers
153 views
Hello,
I'm trying to design a report that would display data in a list format as well as a graph. To use as much real estate as possible the list should be displayed on 3 column. However the graph should only be displayed once per report and it should be page-width wide.

Now, this is what I've tried so far and none worked, maybe I'm missing something:
- multiculmn subreports to display the list: apparently not implemented in this version yet;
- multicolumn report with the graph displayed in the the page footer: working somewhat, I cannot make the page footer shrink when the graph is not visible.

Any help is greately appreciated.
Thank you,
--Virgil


Example:
|---------------------------------------------------------------------------------------------------------------|
|     Follow directions              01/08/2008    56%                Ask for help as needed    |
|     01/07/2008       100%          02/25/2008    45%                01/07/2008            52%        |
|     01/08/2008         97%           Appropriate Behavior      01/08/2008            69%        |
|     02/25/2008         89%          01/07/2008    78%                02/25/2008            70%        |
|     Participate                         01/08/2008    82%                                                             |
|     01/07/2008        87%           02/25/2008    83%                                                             |
|                                                                                                                                           |
|                                                                                                                                           |          
|    The Graph                                                                                                                      |  
|     ________________________________________________________________      |
|    |                                                                        ______                                            |     |
|    |            _____                   /                             /            \                                           |     |
|    |                      \    ______/                             /               |                                          |     |
|    |                       \  /                                        /                 |___                                    |     |
|    |                        \/                           ______/                           \                                  |     |
|    |                                                                                               \                                |     |
|    |________________________________________________________________|     |
|---------------------------------------------------------------------------------------------------------------|
Milen | Product Manager @DX
Telerik team
 answered on 29 Dec 2008
1 answer
96 views
Hi all,
   I am new to this form and Telerik reporting. I want to know how i can implement page breaks and subtotals from coding depending on the field parameters passed.
Ivan
Telerik team
 answered on 29 Dec 2008
3 answers
240 views
Hi all,

As you know, telerik reporting tool has some problems when the session state is persisted in ASP.NET StateServer.
Q3-SP2 (v2.9.8.1209) solved some issues about this, thank you, but I still have a problem and it is really weird.

I am creating a report object and setting the value of a private instance variable that I defined. The code snippet is;

/// <summary> 
    /// Summary description for Report1. 
    /// </summary> 
    [Serializable] 
    public partial class Report1 : Telerik.Reporting.Report 
    { 
        private int SomeVariable; 
        public Report1() 
        { 
            InitializeComponent(); 
        } 
        public Report1(int someVariable) 
            : this() 
        { 
            this.SomeVariable = someVariable; 
        } 
 
        private void Report1_NeedDataSource(object sender, System.EventArgs e) 
        { 
            (sender as Telerik.Reporting.Processing.Report).DataSource = 
                new SampleDataSourceItem[]{ 
                    new SampleDataSourceItem{ItemName="Item1", ItemValue=1}, 
                    new SampleDataSourceItem{ItemName="Item2", ItemValue=2}, 
                    new SampleDataSourceItem{ItemName="Item3", ItemValue=3}, 
                    new SampleDataSourceItem{ItemName="Item4", ItemValue=4}, 
                    new SampleDataSourceItem{ItemName="Item5", ItemValue=5} 
                }; 
        } 
 I am creating the report using the second constructor and pass the value for someVariable value. But when I debug the code at rendering time, i see that my instance variable does not hold the value I set. The report object is being created again using parameterless constructor by the rendering engine. This happens only when the sessionState is not "InProc".
This problem has come with SP2. We have lots of reports already designed and cannot find any workarounds. When will we have a SP that completely solves this session state problem???

--ilker
Rossen Hristov
Telerik team
 answered on 29 Dec 2008
1 answer
1.3K+ views
Hi,
I like your controls and your web site is great. I am exploring Reporting tools options. We have used ActiveReports and know the product well. However, I  want to understand what other options are out there as well and Telerik seems to be pretty much everwhere! :-)

My questions are:
How do you compare yourself with ActiveReports and DevExpress Reporting?
- ActiveReports is a pretty mature product and looks like it is still the number one selling Reporting tool on major sites.
- Looks like DevExpress has a pretty good set of features at a lower price. Will you be adding similar features as well?
What is your reporting vision compared to these companies?
Will you keep adding features to the Reporting product or will you come out with new editions with different feature sets?

Thanks!

Dev
Rossen Hristov
Telerik team
 answered on 23 Dec 2008
1 answer
206 views
Hello,

I need to translate many textbox controls on my reports. I'm using, like you suggest in help, a lot of functions to do that work. For example:

Translate_Customer("en"), to translate value to English
Translate_Customer("fr"), to translate value to French
etc.

This works fine, but I don't think this is the best way to do this work! I need to translate many textboxes in a lot ot reports and I've tried to create a public class with all the translations that I need. Then, I use that class in the report code. When I run the report in my windows applicattion I always get the following error:

"#ERROR# The expression contains undefined function call Translate_Customer"

Please, can you suggest me how to solve my problem?

Thank You
LM





Steve
Telerik team
 answered on 19 Dec 2008
7 answers
479 views
Hello,
we are evaluating the Telerik-Report-Control. In our Website we want to Export a Report in PDF-Format. The Users are only allowed to export in PDF.

In de ExportGroup-Combox there are different Export-Types. Is it possible to configurate these items? That only the PDF-Export is available?

Thx a lot for your help!

Bruno



intrasoft
Top achievements
Rank 1
 answered on 19 Dec 2008
1 answer
146 views

Hello,

I have a dataset with two datables and a relationship between them. I need to be able to generate reports entirely programatically because our reporting structure is purely dynamic and a user can choose columns, grouping, sorting etc at runtime.

Can you please provide me with code that will create a heirarchy report entirely programatically and for each detail record in Datable 1, have a sub report with records from datatable 2.

Can you also show me in the code how to add a column as the Grouping column.

 

Can you also show me how to style the report

 

Thanks,

Andy

Steve
Telerik team
 answered on 19 Dec 2008
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?