Telerik Forums
Reporting Forum
1 answer
152 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
143 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
131 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
208 views
hi, does anyone knows how to generate a group tree-view navigation ?
Steve
Telerik team
 answered on 06 Jan 2009
9 answers
356 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
103 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
72 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
0 answers
144 views
Hi all,

I have designed a telerik report and assign reportviewer height to 300px but when it show large data it shows vertical scroll in report viewer.
So how to make viewer not scrollable??

Regards
Raul
Top achievements
Rank 1
 asked on 05 Jan 2009
1 answer
92 views
Hi all,

It's the first time to use telerik reports, I have designed a report and choose table to fill report data in wizard, but I want to customize data in report, means get specific data not all, so what I can do to do this?? put my code to stored procedure and pass where clause and then make dataset returned from stored procedure is the datasource of report?
If there is a live example please send me link,either please help.

Regards
Steve
Telerik team
 answered on 05 Jan 2009
2 answers
192 views
i want to create a report that shows a hierachy of several entities.
i read in the manuals and samples about master and detail reports using sql as datasource and parameters in the subreports for filtering the correct rows but i want to create the report with the data from already existing entities.

Example of Data Structure:

CompanyData:
string companyName;
string companyAddress;
List<DepartementData> departements;

DepartementData:
string departementName;
List<PersonData> persons;

PersonData:
string Name;
string Birthday;

so this would be a structure with one master report and a subreport that has a supreport itself.
i plan to pass the companyData as datasource to the master report but how can i pass the data on to the subreports?

Thanks for Help


Ibrahim Imam
Top achievements
Rank 1
 answered on 05 Jan 2009
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?