Telerik Forums
Reporting Forum
0 answers
109 views
We are trying to show a hierarchical report with up to six levels of depth. However, we've been requested to allow the hierarchy to be shown in multiple pages if necessary. All this works all right, but, aditionally, we've been asqued to show the last element from the hierarchy shown in the previous page, if it is being showed in multiple pages. That's were the problem lies, since we haven't been able to figure out how to do this.

i.e.:

The hierarchy to be shown is:

Element 1
     ----- Element 1.1
          ----- Element 1.1.1
               ----- Element 1.1.1.1
               ----- Element 1.1.1.2
                    ----- Element 1.1.1.2.1
                                            <-------------------- Page break goes here
    ----- Element 1.2
          ----- Element 1.2.1
               ----- Element 1.2.1.1
     ----- Element 1.3
          ----- Element 1.3.1

Element 2
     ----- Element 2.1

    
We've been asked to remember the value of Element 1.1.1.2.1 (the value is stored in a textbox) so that when the next Page renders, before listing Element 1.2, it prints that the last shown element was Element 1.1.1.2.1

I hope someone can suggest a solution.

Thanks and best regards to everyone
Ernesto Cuevas
Top achievements
Rank 1
 asked on 23 Jun 2010
4 answers
121 views
Hi..
My reporting works fine from SL on my dev machine.. but when I deploy I get the following message. Any ideas ? thanks again.. what am I missing?

The type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.0.10.423, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
Jon
Top achievements
Rank 1
 answered on 23 Jun 2010
4 answers
151 views
Version: Q3 2009
Visual Studio 2005 + windows 7

I have a report viewer1 in a form.  I load a report to the report viewer.  The subLoadReportHeader is just to load heading from a database. eg Report Title, etc.
Dim myReport1 As New someReport  
myReport1.oTable = oTable  
myReport1.subLoadReportHeader()  
Me.ReportViewer1.Report = myReport1  
 
 
 

In the someReport, I use NeedDataSource to bind the data.


Private Sub someReport_NeedDataSource(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.NeedDataSource  
        Me.DataSource = oTable  
End Sub 

So the report can only display with the heading but not the details.  I need to click the refresh button in the report viewer to refresh so as to display the details.

What is wrong?  Thanks.
Steve
Telerik team
 answered on 22 Jun 2010
1 answer
78 views
Assume my data looks like this:
cat 1       cat 2        value
1            1                2
1            1                3
1            2                1
1            2                2
1            2                3
1            2                4
2            1                1


I'd like my report to look something like:
cat 1: 1
    cat 2: 1
        2,3

    cat 2: 2
        1,2,3,4

cat 1: 2
    cat 2: 1
        1

The issue I'm having is trying to get the last line to work in a windows application. From what I can understand, these records would have to be on separate lines.  I'd like to append all of them for a cat1, cat2 grouping.

Can I do this with the reporting engine or will I have to do some trickery behind the scenes in my business logic?

I hope I've explained this adequately enough for you to understand my question.

Thanks!
Steve
Telerik team
 answered on 22 Jun 2010
1 answer
62 views
Hi,

  I'm specifying the bar width and colors to series programatically. 

chartseries.Type = Telerik.Reporting.Charting.ChartSeriesType.StackedBar;  
chartseries.Appearance.BarWidthPercent = 15;  
chartseries.Items[j].Label.Visible = false;  
chartseries.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(57, 19, 232); 

For StackedBar chart, i don't see the impact. The Bar width is still auto eventhough i set it to 15%. The bar becomes multiple color when i specify the color.
When i apply the same to a Bar chart, the width is set to 15% and the color is applied. Why does it not apply to StackedBar? Whether the properties which needs to set is different for StackedBar?

In StackedBar, how can i show the total of item values above the bar? similarly on DataTable how to show the total?

Thanks.
Peter
Telerik team
 answered on 22 Jun 2010
1 answer
88 views
Hello!

I am evaluating the usage of Telerik Reporting Service along with our Silvelirght 4.0 application. As I see it, the Telerik Reporting Report Viewer for Silverlight on Print click generates a PDF file. Is there a way to modify it and send it to a printer? Now that SL4 supports printing, how do I make use this in sending the report to a Printer?

Sundar
Steve
Telerik team
 answered on 21 Jun 2010
1 answer
87 views
I have a report which PaperKind is A4Rotated.

When I print it in web form viewer, it will print correctly in A4Rotated.
(img1.jpg)

But in win form viewer, I need to setup paper size manually, otherwise it will print with PaperKind A4(not rotated).
(img2.jpg)

Is it possible to set it in code?
Steve
Telerik team
 answered on 21 Jun 2010
1 answer
75 views
Dear Telerik team !
Telerik has made complete report. but I do not know how to load the report from reporviewer  in  page aspx.
I attach for your project and help me see.

http://www.mediafire.com/file/q1ggnyj2y2y/Telerik Report.rar 

Sincerely..
Steve
Telerik team
 answered on 21 Jun 2010
3 answers
154 views
I'm using the reportviewer (Windows 2000, Vista, Windows7) on a radform to display images in multiple pictureboxes and general text.  The users have complained that if they choose a different page size when printing the report the images are distorted proportionally to the page size.  An image appearing normal in 8.5x11 will appear stretched in 8.5x14.  I have experimented with printing, and found that no matter what options are chosen in the printer settings, or preferences, this will occur.  I have tried choosing "Actual Size" and unchecking "Scale to Fit" without success.  Is there a property in the reportviewer or elsewhere that will prevent the images from distorting if a different page size is chosen?  Thanks.

 
Steve
Telerik team
 answered on 21 Jun 2010
1 answer
83 views
Hi,

Forgive me if this has already been answered in this forum already.  I could not find it.

Is it possible to know if the environment is in report preview mode versus actually running a report?

I'd like to do something like this in the report class, derived from Telerik.Reporting.Report:

....
if ( InReportDesignPreviewMode )
{

    this

 

.DataSource = MyBusinessClass.LoadTestData();
}
else
{
    this.DataSource = MyBusinessClass.LoadRealData();
}
...

I did try this.DebugMode() and it didn't behave as I thought it would.

Thanks for your input on this matter.

Michael

Steve
Telerik team
 answered on 21 Jun 2010
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?