Telerik Forums
Reporting Forum
1 answer
211 views
Hello,
 Could you please let me know how to hide complete tool bar in report viewer for silverlight.

FYI :- The namespace I am using is:-
 xmlns:reportViewer="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"

Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
215 views
Hello all,

I have a windows form with a grid that displays items that can be selected by the user using check boxes. Each item has zero or more sub-items attached to them. I would like to let the user select the main items from the grid then have a report that displays all the sub-items that were attached to the selected items.

I have tried creating an ObjectDataSource using the Report Designer with no success. I have tried to manually data bind the report by programmatically setting the DataSource of the report to an IEnumerable<SubItem> that I have created. In this case I set the expressions for the textboxes in the report to [=Property1] where Property1 is a public property of the SubItem class. This gives me a row for each item in the IEnumerable<SubItem> list but instead of displaying the value of the properties it prints [=Property1].

Is it possible to use the reports in this way? If so how? Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
2 answers
144 views
Hi..
How can I suppress  "$0.00"  so it shows up as blank?

Most of my fields are based on calculations..... like...
 
=Fields.inv_sale -  Fields.sale_paid


thanks again
Jon
Top achievements
Rank 1
 answered on 25 Aug 2010
3 answers
136 views
Hello

I have two parameters that hava a datasourse. The second one has a filter on the selected ID on the first parameter.
When I run the report in a browser with reportviewer and select a value on report parameter 1. The report seems to do a posback and all parametersfields dissapear.

I run Q1 2010 SP1
C# 4
Integrated mode.

This worked in previus versions of report viewver. Eiter way its the c# 4 uppgrade or the upgrade of the telerik reporting to q1 that is causing this problem.

Any ideas?
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
111 views

Hello,

I use the silverlight chart control to display charts with several stacked bars and simple bars, for example 6 stacked bars grouped in 2 bars (3 series on 1 bar, the others 3 on the second bar) using the property XCategory to group the series. I want to print this chart using the reporting but I haven't found the equivalent of the property 'XCategory', In the report, all the stacked series appears on the same bar. What can I do to group the series like in the silverlight chart control ?

Ves
Telerik team
 answered on 25 Aug 2010
2 answers
83 views
Hi,

I've spent hours trying to designate fields to a reporting chart's x and y axis but until now I can't figure out how to do it.
I am using Telerik Reporting Q2 2009 and Visual Studio 2005.

Thank you in advance.
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
90 views
Hi,

I am working on adding Telerik Reporting for Silverlight to an application. I need to add some logic to secure the reports, and I would like to inject an attribute onto the Telerik Reporting service to do this (so I can reuse the existing code). The goal here is to inject my logic into the WCF call stack before it reaches the Telerik code.

I was able to do this by adding a custom attribute to the service method in my code where I add a custom invoker to each service method. Is there a way I can do the same with the Telerik service? All the examples I see show a declarative solution to adding the Telerik service.

If not, is there a way to add logic (once) to the reporting service to limit access to the code?

I have special logic because we have two methods of authentication that we have to support simultaneously.

Thank you,
Gary Klesczewski
Northeast Utilities
Steve
Telerik team
 answered on 25 Aug 2010
2 answers
85 views
Hi,
If a user leaves the web report viewer preview screen open for a long period of time and attempts to export to CSV, the resultant screen is blank with a title of "Error" in FF 3.6.8 and IE7. To see the error, you have to do a View Source.

1. Is there any way to have the message appear explicitly rather than doing a View Source? I'm guessing this is some sort of MIME type issue? 

2. Can the message be customized in any way? Unfortunately, even the suggested advice to refresh the page doesn't work. A user would have to go back to the preview screen using the browser back button, then refresh the page. It's just a bit stigmatizing for users to simply see a blank screen.

Thanks.
Mark DeMichele
Top achievements
Rank 1
 answered on 24 Aug 2010
0 answers
56 views
I have create reportBook, which is bound to reportViewer at Silverlight applications.
Also, create multivalue report parameter (param1), which can take values (for example A, B, C, D) and have four reports (ReportA, ReportB, ReportC, ReportD);

in the reportBook, I want to do some reports filtration.
For example:
If param1.value equals A and B, I want add to reportBook only ReportA and ReportB.
I did filtration in ReportBook constructor.
But when I change param1 value and press Preview button nothing changes.

 

 

public partial class rpt_ProcesoReportBook : Telerik.Reporting.ReportBook

 

{

  public rpt_ProcesoReportBook()

  {

 

 

        InitializeComponent(); 
            
                this.Report.Add(new titleReport() );

        //// filtration    

    IList

 

 

list = (IList)this.Reports[0].ReportParameters["param1"].Value;
    if (list.Contains("A"))
    {

 

 

 

            this.Reports.Add(new ReportA() );
        }
    if (list.Contains("B"))
    {

            this.Reports.Add(new ReportB() );
        }

        ........
        .........

 

  }

}

Maybe someone knows how this can be done?

Jara
Top achievements
Rank 1
 asked on 24 Aug 2010
2 answers
166 views
background:  I have a VB.NET Telerik Reporting class libary project.  I am using the winforms preview tab for my previewing for now.  I have novice .NET skills and only a couple of weeks of experience with Telerik Reporting.  I've read about but never used CSS.  I have experience in other report writers such as Crystal.

problem:  I have read the help documentation and searched for documentation or examples both on Telerik.com and broader via Google.  I understand the concept of the DescendantSelector but not the execution.

For instance, I have three GroupHeaderSections.  I want one of them to have a blue background.  I create a StyleSelector style rule named colHeadingRow and apply that style to one of the GroupHeaderSections (.Stylename = colHeadingRow).  I also want the textboxes in that section to have .TextAlign = Center and .VerticalAlign = Middle.  I can create a named style for the textboxes and apply that named style individually to each textbox, but I'd much rather just have them inherit the style from the section they're in.

I try changing the relevant text alignment properties on the named styleselector that I've applied to the section.  I make sure that the textboxes in the section don't have a value in the StyleName property. I right-click on the textboxes and "Reset Style".  The TextAlign property is appropriately inherited, but the VerticalAlign property is not.

Using the StyleRule Collection Editor, I try modifying my StyleRule that has a single StyleSelector named colHeadingRow of type ReportItemBase.  I add a DescendantSelector.  In its selector, I add a Type of ReportItemBase.  I expect all report items that are descendant to the item that has the colHeadingRow StyleSelector applied to have my blue background and text alignments applied.  However, the actual result is that all report items in the report get the style applied.

In the Telerik Reporting online manual, it says "A DescendantSelector applies to all parent/child report item combinations. The actual Style Rule for the child can be specified by any type of Selector.  For example, you can specify that any TextBox that exists inside of a ReportHeaderSection should have a particular style using a TypeSelector within the DescendantSelector."  This is what I'm trying to do.  I've defined a TypeSelector within the DescendantSelector which itself is in the Selector Collection for my StyleRule.  I have two selectors in that StyleRule, #0 is *.colHeadingRow and #1 is * (DescendantSelector).

Is the VerticalAlign property on a textbox in fact inheritable from a style applied to a section?

Please help me clarify how to implement a DescendantSelector (and clear up any misconceptions I may have presented).  Step by step instructions using the IDE GUI tools instead of code would be much appreciated.

Windows XP SP3
Regional and language settings are En-US
Visual Studio 2008 Pro (9.0.30729.1 SP), .NET 3.5 SP1
Telerik Reporting Q3 2008 SP2

Thanks very much,

Robert
Monsignor
Top achievements
Rank 2
 answered on 24 Aug 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?