Telerik Forums
Reporting Forum
2 answers
91 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
61 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
197 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
3 answers
116 views
Hello, we have a need to be able to display different values in the header/footer depending on the page.
For one item, I want to display one piece of text ONLY on the first page and leave it blank on subsequent pages and not have any white space.
Another item, I want to display on the bottom/footer of a page the range of items that are located on the page.   For example, on page one we may have items "1 to 5", second page "6 to 12" and last page "13 to 18".  Any suggestions on how I can accomplish this?

A third item, unrelated:  I have a need to take multiple PDF files and combine them together.  Is there a solution that is within telerik or do I need to acquire a third party tool>
 
Thanks,
Steve
Telerik team
 answered on 24 Aug 2010
2 answers
87 views
I've spent the last day and a half trying to get the formatting of my report down, and just can't quite figure it out.  I've spent that time looking through the forum posts and samples for Telerik Reporting, and can't quite make it work.  I can get close using a grouped table, but never exactly where I need to be.  I've noticed sample apps in some of the forum postings as reply's.  Can I get someone to help point me in the right direction, based on the attached file, to get what I need?  Any help is highly appreciated.

Attached is a png file.  The top grid shows the sample data used for the report layout that I need.  The bottom grid shows, generally, the format that I'm after.  I want to group on the AccountID column.  For each unique AccountID, I need a header row, followed by the detail rows for that AccountID.  I also need every group header (the blue text) EXCEPT the first, to have a blue dotted top border.

Thanks again for any help you can give getting me going in the right direction.
Jamie
Top achievements
Rank 1
 answered on 23 Aug 2010
1 answer
83 views
Hello,
I've noticed that when I've got more then one page and I switch from one to another it downloads the data for the showing page... is it possible to download the whole pdf instead of a single page?

And how it's possible to set an higher timeout? I got session expired if I leave the report for some time then I press the next/prev page

Thanks

Paolo
Peter
Telerik team
 answered on 23 Aug 2010
0 answers
115 views
In the aspx page that contains the ReportViewer I change the document.domain to mydomain.com (instead of default host.mydomain.com) which is causing ReportViewer not to show the report in its iframe (all I see is the navigation and export buttons).
Is there any way to force the new domain in the iframe?. Maybe, some intialization javascript function?.

Thanks a lot!
Jorge
Top achievements
Rank 1
 asked on 21 Aug 2010
0 answers
68 views
Hi friends , Please send sample example of telerik reports with ViewUserControl in mvc 2.0. It's also filtering drop down selected value . thanks and Regards shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 21 Aug 2010
0 answers
100 views
Hi Every Body,


How to use ReportViewer in user control page in mvc  .please give me one example .I want partialview example...........

thanks and regrads
shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 21 Aug 2010
0 answers
81 views
Hello all,

Rather than re-invent the wheel, has anyone here ever tried persisting their report assemblies within a database? 

The scenario is this; a hosted application environment where customers share the same database. Data is contextual based on the logged in customer. Nothing new here. However, every customer has different reporting requirements. I need an effective way of delivering only those reports that the are specific to the customer. 

I don't want to build a giant assembly to contain every report for every customer. Instead, I would like to create customer specific report assemblies and then use them based on the customer logged in.

I know this can be accomplished using SQL Server Reporting Services - persisting RDL files to a database. Can something similar be accomplished using the Telerik Reporting? 

No, creating a WCF RIA or web service, or similar, is not an option.

Any thoughts?

Cheers, 

Paul
Paul Patterson
Top achievements
Rank 1
 asked on 20 Aug 2010
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?