Telerik Forums
Reporting Forum
4 answers
179 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
114 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
85 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
103 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
123 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
99 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
194 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
116 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
1 answer
108 views

Good morning,

We have a problem that we cannot resolve watching the documentation.

After we created a report using wizard, we tried to impost specified parameters, but we do not managed to make them independents between them. For example  we do not succeed to execute a research for only one of the indicated parameters also having insert NULL  provision and finally we have some trouble to apply filters from a master to a subreport.

We would like to ask you a help to resolve these problems.

Thank you so much.

We look forward to your answer,

Yours faithfully.

Peter
Telerik team
 answered on 18 Jun 2010
1 answer
289 views
I am trying to retrieve a single character from a parameter in a WInforms report for a conditional formatting rule.  The expression is: = SubStr(Parameters.Weekends.Value,1,1).  I get "The expression contains undefined function call SubStr".  What am i missing?

TIA
Barry Tarr
Peter
Telerik team
 answered on 18 Jun 2010
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?