Telerik Forums
Reporting Forum
1 answer
101 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
218 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
119 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
157 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
158 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
144 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
216 views
hi, does anyone knows how to generate a group tree-view navigation ?
Steve
Telerik team
 answered on 06 Jan 2009
9 answers
381 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
1 answer
114 views
Hi 
        I have HTML data.  I want to set that HTML data to  Report  means set datasource for that Report using HTML data.
Is it possible. please give your repply as early as possible.

                for e.g.  I have "<a> Link </a>" then report show the "Link".

thankssssss 
Steve
Telerik team
 answered on 06 Jan 2009
0 answers
76 views
Hi all ,

I want to know how to show subreports in new report page, any one have an idea??

Regards
Raul
Top achievements
Rank 1
 asked on 05 Jan 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?