Telerik Forums
Reporting Forum
1 answer
254 views
Hi all,

It's the first time to use telerik reports, I want to realize a simple vertical histogram and the histogram has no use for binding the database. In other words, I want to the vertical histogram display special data from calcuate but not through SQL language. I have refer to the demo from "Reporting Q3 2008 Exmple", but I have no idea. In addition, the title shoud be change, for example, "10% Growth", "10%" can change according the data.

 

If there is a live example please send me link, either please help.

Thanks

Steve
Telerik team
 answered on 09 Jan 2009
3 answers
150 views
We can use UserFunctions in reports, which is static function defined on same report if I understand it correctly. Now what if I want to use same function that is in some library class in more then one report?

Also, have you considered allowing use of instance members of report?

Thx in advance.

Daniel
Svetoslav
Telerik team
 answered on 08 Jan 2009
1 answer
94 views
Hello, I have to create a report that has so many conditions that can´t make it in the traditional way.
I was wondering if there is a way with telerik reporting to make a report with for example a html lenguaje, so I can make all the report programaticaly, with the structure I need.

If I can´t do that, how can I modify the columns the columns of the report programaticaly?

Any help will be great.
Thanks
Steve
Telerik team
 answered on 08 Jan 2009
1 answer
184 views
On the 2008 Q2 release I had a couple reports made where I had a vertical list of text boxes.  Occasionally the text boxes would need to be hidden, and everything below them moved up into their place.  I set the box visible property to false programmatically and everything below it would move up to where it should automatically.  Now I've installed the Q3 sp1 release and the formatting has gone crazy.  When a textbox or other control is set to invisible everything moves up to far to compensate and it's overlapping other items above it.  Am I the only one noticing this issue?

Steve
Telerik team
 answered on 08 Jan 2009
3 answers
94 views

Hi iam trying to do the below but it doesnt work

Should i use something else that detailsection ?


 

        private void groupFooterSection1_ItemDataBound(object sender, System.EventArgs e)  
        {  
            Telerik.Reporting.Processing.DetailSection  procDetail = sender as Telerik.Reporting.Processing.DetailSection;  
            DataRowView dataRowView = (DataRowView)procDetail.DataItem;  
            if ((decimal)dataRowView["calculation_bruttoAvance"]==0)  
            {  
                Telerik.Reporting.Processing.TextBox procTxtColor = procDetail.Items["lbBrutto"as Telerik.Reporting.Processing.TextBox;  
                Telerik.Reporting.Processing.TextBox procLblColor = procDetail.Items["txtBrutto"as Telerik.Reporting.Processing.TextBox;  
                procTxtColor.Visible = false;  
                procLblColor.Visible = false;  
            }  
        } 

Steve
Telerik team
 answered on 07 Jan 2009
1 answer
145 views
Hi!

First, I apologize if I don't write something well. I installed the Visual Studio in spanish, so maybe I don't know "the name of the things" in english.

I converted a CrystalReports with the Telerik Report Wizard. Everything looks well, more or less. But in the preview I got the message "The source of the report definition has not been specified". In CrystalReport I had the datasource specified; so, my first question is... why was it missed in the conversion? Anyway, I went to the designer, I opened the "datasource" property of the Telerik.Reporting.report, and I clicked in the "Add Project Datasource" link. At the end, I can see my DataSet in the Solution Explorer. It looks ok, cause if I see the Dataset designer and I have a look of the data in "Data See Preview", it's perfect.

My problem is, when I finish creating the datasource, I can't choose it in the datasource list, even if I made it with the "Add Project Datasource" link of that property.

Thanks a lot for your attention.
Steve
Telerik team
 answered on 07 Jan 2009
1 answer
129 views
Does your pie chart support a 'collected' or 'other' slice and if so, how do you implement it?

A lot of the pie chart components out there support the concept of an 'other' slice which allows you to rollup values in a a single slice.  For eaxmple, the first 4 slices in a pie chart may represent 90% of the data, while the remaining 10% of the data would take up many tiny slices, which would just clutter up the graph and legend - in this case, it is best to use a 'collected' or 'other' slice to rollup the rest of the data.

Thanks,
Kevin
Steve
Telerik team
 answered on 07 Jan 2009
1 answer
118 views
Hi

I have reports which all have the SAME Setup_Report routine
eg. to determine the visibility of report items, groups etc.
(This routine is called in the NEW constructor)

Example:
-------------------------
Public Sub New()
    InitializeComponent()
    Me.Setup_Report()
End Sub
Public Sub Setup_Report()
        If Me.ReportParameters("Group1").Value = eGroup.None Then
            ' No grouping, so clear Groups
            Me.Report.Groups.Clear()
            Me.TextBoxGroupTitle.Visible = False
-------------------------
This works fine, but I want to move the setup routine
to a Public class so that I can keep all the common code in one place

Example.
-------------------------
IN THE REPORT....
-------------------------
Private Shared myFunc As New MyFunctions    ' Global Functions
Public Sub New()
    InitializeComponent()
    myFunc.Setup_Report(Me)
End Sub
-------------------------
IN A GLOBAL.VB ...
-------------------------
Public Class MyFunctions
    Public Sub Setup_Report(ByVal Report As Telerik.Reporting.Report)
            MyReport.ReportParameters.Add("CompanyName", ReportParameterType.String, "Bloggs Limited")
            Dim TextBoxGroupTitle As TextBox = Report.Items("TextBoxGroupTitle")
            TextBoxGroupTitle.Visible = False
-------------------------
In the example above
1) The ReportParameters.Add works
2) The reference to the textbox fails with exception "object reference not set"

Your help greatly appreciated, as this would save massive duplication of setup code....

Kind Regards

Martin
Martin
Top achievements
Rank 1
 answered on 07 Jan 2009
1 answer
195 views
hi, does anyone knows how to generate a group tree-view navigation ?
Steve
Telerik team
 answered on 06 Jan 2009
9 answers
341 views
Hi,

I have the corporate logo on the page header, and the PictureBox is defined  large enough.  The setting is Normal, so I don't expect resizing to take place, and it didn't.

However, after the report renders and I look at the PDF , there is a patchy grey background and its not on the original GIF.  It looks like the image is getting lossy compression when its rendered in. Is there a setting somewhere that I can preserve the image quality?

Regards
Paul.
Steve
Telerik team
 answered on 06 Jan 2009
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?