Telerik Forums
Reporting Forum
5 answers
306 views
Hey, there... I'm trying to build a report, including charts, to display a series of metrics. The X-axis values on my charts are to be dates. I've set the format of the values on that axis to be a short date, and I'm trying to use the Chart.PlotArea.XAxis.DataLabelsColumn to get the values from the data source I'm using. Unfortunately, all I'm getting is zeroes for each column. Here's the code in my NeedDataSource handler:

private void ByDateChart_NeedDataSource(object sender, System.EventArgs e)
        {
            Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart;
           
            DataRowView dataItem = (DataRowView)chart.DataItem;
            sqlDataAdapter1.Fill(dataSet);
            DataView view = dataSet.Tables[0].DefaultView;
            chart.DataSource = view;
            ByDateChart.PlotArea.XAxis.MaxItemsCount = view.Count;
            ByDateChart.PlotArea.XAxis.MaxValue = view.Count;
            ByDateChart.PlotArea.XAxis.MinValue = 0;
        }

Any advice? Even some general info on using dates as value labels along an axis would be helpful.
Mike Trill
Top achievements
Rank 1
 answered on 18 Nov 2008
1 answer
129 views
Like when I'm passing a parameter from a report to its sub-report, how do I get the value being passed? Coz I need to use the parameter value in a sub-report code.
Steve
Telerik team
 answered on 18 Nov 2008
1 answer
116 views
Hi,

I'm not using Report Generation Wizards because I need to hook my reports up to a custom data source. Telerik kindly pointed me at the appropriate documentation to help with this but now I've hit another snag: I don't know how to add data-bound items and text items to the report using the designer interface. Is there any way to do this, and if not, can someone point me at some documentation to show me how it's done programatically?

EDIT: I've managed to add a box programatically, but with bound field boxes I'm getting the message "An error has occured while processing TextBox 'textBox1': The expression contains object 'adID' that is not defined in current context". What's going on here? There's a dataset being called and bound in the codebehind of the report object.

Cheers,
Matt
Steve
Telerik team
 answered on 18 Nov 2008
4 answers
157 views
Hi, I've installed the latest download trial but can't find the project upgrade wizard.

Anyone else had this problem.

Regards,

Graham O'Riley
Netdocs Plc
Graham O'Riley
Top achievements
Rank 1
 answered on 17 Nov 2008
5 answers
60 views
Hi i have a report where i show multiple information on a specific article.

Sales price :      10,00
Cost price           2,00
Comment:             Hi
Stocked amount: 120


The report looks something like the above just with more fields.
The thing is i dont want to show the comment line (nor the cost price) if they are empty and just making it invisible will make the report look wierd with holes.
So what i want is the stocked amount/comment to move up if something above is set to invisible.

Steve
Telerik team
 answered on 17 Nov 2008
1 answer
132 views
Hi,

Is it possible to have some guidance on how one can create reports without using the built in Wizards? All the existing documention seems to be pointing heavily toward wizard-driven development, which is causing me immense problems. All our data access, for example, is through our own custom classes calling stored procs in SQL Server and not through MSDataSetGenerator objects or whatever it is that the wizard puts in your classes for you. The Query Builder doesn't seem to support direct calls to sprocs either, which makes matters more awkward.

Any help very gratefully appreciated!

cheers,
Matt
Steve
Telerik team
 answered on 14 Nov 2008
3 answers
287 views
Like the report has 3 pages, how do I make it so that it will just be previewed on one long page?

And how can I pass the pagecount from the report to another form?
Steve
Telerik team
 answered on 13 Nov 2008
1 answer
563 views
=Fields.[calculation_bruttoAvance] + "(" + Format("{0:0.00}",Fields.[calculation_bruttoAvanceProcent]) + ")" 


a

I would like to do something like the above within the value field of a Telerik.Reporting.Textbox, however it gives me an error.
Is this not possible or am i doing something wrong with the syntax ?
Steve
Telerik team
 answered on 13 Nov 2008
2 answers
99 views
I just loaded Q3 2008 version of Telerik reporting and am adding a report to the App_Code folder of my ASP.NET app.  All that happens is that a regular c# file gets added and the report wizard doesn't load, nor does the designer load when I double-click the report file, only the C#.  I'm running VS 2008 SP1 on Windows Vista Business.  I had 2008 Q2 installed, but replaced it with this.  Q2's features worked fine.  I tried removing and re-installing Q3, but the same behavior occurs... is there something I can do/check to make this work?

(I realize the subject is wrong... I typed 2003 instaed of 2008... sorry)

Thanks.
Marty
Top achievements
Rank 1
 answered on 12 Nov 2008
3 answers
124 views
I am evaluating Telerik Reporting and I am very close to purchasing the product, however I do have an issue. My issue is that my business objects do not have public parameterless constructors and I would prefer to keep it that way. Would it be possible for support for private parameterless constructors to be added?
Steve
Telerik team
 answered on 12 Nov 2008
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?