Telerik Forums
Reporting Forum
3 answers
230 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.2K+ 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
189 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
458 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
133 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
1 answer
148 views
Hi,
I'm trying to change the default x-axis label on a bar chart that I have in my report. I'm trying to do it in the code behind (C#). At the moment the label is defaulting to the row number from my dataset, I wan't it to be the value in one of my columns.
I have created an SQLAdapter on the desing page and then in the code behind I pass ain a parameter, create my dataset and then fill it with the adapter. A
I've tried creating a Telerik.Reporting.Charting.AxisLabel and then adding it to my chart but i get read only errors. I've also tried 

 

Telerik.Reporting.Processing.

Chart myChart = (Telerik.Reporting.Processing.Chart)sender; in my needdatasource event, then doing myChart.PlotArea....... but again I've had no success!
I've been using telerik asp.net controls for a while but I'm new to reporting and I'm finding it a bit tricky - any pointers would be greatly appreciated.
Cheers,
Johnny

 

Johnny McAvoy
Top achievements
Rank 1
 answered on 19 Dec 2008
1 answer
91 views
Hello,

I have a report that renders correctly with embeded HTML in a textbox on the Telerik Web Report Viewer but when exported to PDF the HTML markup is shown.

Any ideas on a workaround?

Current version we're using is Q3 2007 Reporting suite.

Thanks!

-Allen
Steve
Telerik team
 answered on 18 Dec 2008
4 answers
542 views
Hello,

I'm a absolutley newbie in Telerik-Reports and need your help :-). I created a new Report with a new BusinessObjects, createt Textboxes with the Wizard (labelsGroupHeader, textboxes in the detail-area).

I try to create the Report as follow:
- Load my Business-Object
- Create a Report-Object (with the Business-Object oDT)
- Then I bind the Object as Datasource

        public Report_SAP(object oDT)
        {
            InitializeComponent();
            this.DataSource = oDT;
        }

-Then I show the Report in a Viewer:
ReportViewer.Report = oReport;

But, as soon I have Data in my Business-Object (its a typed DataTable) the report is empty (blank page). When the BO is empty, the page is not empty (footer is shown).

Can somebody help me??

Thx
Bruno



intrasoft
Top achievements
Rank 1
 answered on 18 Dec 2008
3 answers
199 views
Hi,

are there any suggestions/best practices for integration of Telerik Reporting with WPF applications.

OR: Will there be a "WPF Viewer" in one of the next releases?

/BB
Steve
Telerik team
 answered on 17 Dec 2008
4 answers
247 views
I noticed that we have the ability to access the datasource of a report (which in our case is a dataset that we set outside of the report) from inside functions like ItemDataBound, etc. How do we access the datasource from inside of User Defined Function that we create inside of the report for use when the report is rendering?
Adam
Top achievements
Rank 1
 answered on 16 Dec 2008
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?