Telerik Forums
Reporting Forum
7 answers
151 views
Ok I have looked through alot of the documentation and I just don't get it.  This should be easy.

I have a sql query that is used in as the datasource for the report.  It displays the data in a a cross tab table.  I then want to take the percentages, some are in the query others are determined at run time of the report.  I want to create a bar chart that has the Categories across the bottom and the percentages as the y.

I would also like to use the same data set to build a pie chart.  I can set the datasource to the chart but I can not see any way to set the x and y axis to the fields I want displayed
Eric Klein
Top achievements
Rank 1
 answered on 20 Dec 2012
1 answer
48 views
VS 2010, Q2 2012 reports. I have a chart in my report when it is printed the X-axis label (as well as the item labels on both axes) has a black background. The Y axis label which seems to be formatted identically, does not have a black background. This ONLY happens when printing directly to a printer. On the screen and when generating a PDF this black background does not appear. 

I have been setting the fills to all use the transparent color to see if that would do anything but no no avail. 

Any suggestions?

Thanks, 

Matthew
Steve
Telerik team
 answered on 20 Dec 2012
2 answers
101 views

Hello 

I want to build reports based on ObjectDataSource. As an easy sample, I tried to start with an sample report, based on your video.

In my project, there is a BI-Layer based on EF4/POCO. But when I try to add a Entity Context Object (to populate the List in GetAllProducts()), I get an Error on Report Preview (see Attachment).
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using IW_CCFA_GEKO.Model;
 
namespace IW_CCFA_GEKO.Report.ReportModels
{
    [DataObject]
    public class Products
    {
        protected CCFAGEKOEntities db = new CCFAGEKOEntities();
 
        [DataObjectMethod(DataObjectMethodType.Select)]
        public List<Product> GetAllProducts()
        {
            var products = new List<Product>();
 
            products.Add(new Product() {Name = "Produkt 1", Color = "blau", ListPrice = 2.55, ProductNumber = "654-789"});
            products.Add(new Product() {Name = "Produkt 2", Color = "gelb", ListPrice = 1.20, ProductNumber = "345-768"});
            products.Add(new Product() {Name = "Produkt 3", Color = "rot", ListPrice = 5.0, ProductNumber = "56-334"});
            products.Add(new Product() {Name = "Produkt 4", Color = "grĂ¼n", ListPrice = 3.9, ProductNumber = "234-159"});
 
            return products;
        }
    }
}

In the same Project, I made a report, directly based on an EntityDataSource, which works, even in Preview. But I need to do some processing in my own Classes before.
What's wrong and how to resolve it?

Thanks, Simon

Mars
Top achievements
Rank 1
 answered on 20 Dec 2012
1 answer
93 views
I have my report's default font set to Times New Roman, 9pt, When I create new conditional formatting on a field, the font is Arial 10.

How can I configure my environment to have a default font for all actions?

Peter
Stef
Telerik team
 answered on 19 Dec 2012
1 answer
170 views
I'm a newbie to reporting, so forgive me for this elementary question.

When designing report, I noticed that sometimes the textBoxes were shifted to the right during preview and debugging. Attached are my report in Designer and its Preview.

In Designer, the Grand Total Textbox (and the textbox next to it) should be only one inch from left margin, but in Preview mode, the textboxes were shifted to far right.

So can anyone tell me what happened and how to fix this? I've tried moving the textboxes around but they are still shifted to far right side of the document.

Thank you.
Steve
Telerik team
 answered on 19 Dec 2012
6 answers
89 views

Hi,

I am using Telerik  Reporting Q2 2011 with Silverlight 4 and I would like to specify the report name in the Save File Dialog. I have already explored other post regarding this issue and found that Report.DocumentName property is used for this purpose but Silverlight 4 Save File Dialog does not have DefaultFileName property therefore it is not possible to specify report name due to the limitation which comes from Silverlight 4.

But now silvleright 5 have this property for Save File Dialog. So, does the latest release (Q 3 2011) of Telerik reporting have this functionality? If not when it will be available?

Adil

Zaheer
Top achievements
Rank 1
 answered on 19 Dec 2012
2 answers
140 views
I have a class which I am attaching to my report using an ObjectDataSource.
In the designer I see that the type of the datasource is set to that of this class

this.objectDataSource1.DataSource = typeof(Acme.Reporting.TrainingRequirements.ListRowGenerator);

How do I get the actual object? The GetDataSource method is hidden by its access level.

 

 

 

Joe
Top achievements
Rank 1
 answered on 19 Dec 2012
3 answers
136 views
Hello, I am trying to use the reportViewer component in my asp.net application. Our requierments are as follows:

  • Need to use trdx files so our clients can create their own reports and upload them through our application.
  • Need to change the datasource to the trdx files at runtime to connect to the proper database based on user.
  • A couple of reports will require drillthrough capabilities and the drillthrough files will also require the datasource to be set at runtime.

I found a sample listed by Erwin in your forum (Change Connection String for Reports designed in the Standalone Designer) to change the connection string at runtime and it is working fine for displaying the reports, however I am wondering how I will be able to change it in the drillthrough report.

Any documentation on changing the connection string at runtime for the drillthrough report would be appreciated.

Regards,

Don Tompkins

Peter
Telerik team
 answered on 18 Dec 2012
1 answer
251 views
Hi
Ive done an invoice report in Silverlight. I want to print 3 copies of the invoice automatically when the user clicks print. Is there a way to do this?

cheers.
Stef
Telerik team
 answered on 18 Dec 2012
26 answers
2.4K+ views
Hi,

Have you experimented with ReportViewer on the ASP.NET MVC framework? I'd really like to leverage both in a project but can't seem to get the report viewer to work. I'm using a Report object as the model for the view and basically showing the ReportViewer as follows:

<asp:Content ContentPlaceHolderID="MainContent" runat="server"
    <form runat="server"
    <
        rvReport.Report = ViewData.Model; 
    %> 
    <telerik:ReportViewer ID="rvReport" runat="server" /> 
    </form> 
</asp:Content> 
The attempt results in an error message:

Report is unavailable or session has expired.

Please, refresh the page.

Igor
Top achievements
Rank 2
 answered on 18 Dec 2012
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?