Telerik Forums
Reporting Forum
1 answer
707 views
Hi,

My Silverlight Reportviewer control when clicking the SAVE menu at runtime, only shows a few of the inbuilt extensions available.
Where did all the INBUILT ones go?   

From the help...
By default Telerik Reporting outputs reports in the following formats: Image, PDF, HTML, MHTML, Excel 97-2003, XLSX, PPTX, DOCX, RTF and CSV.

I am missing the OFFICE extensions.
When I put this in the <configSections> as described by the help - i get an error.
<section name="Telerik.Reporting"
             type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Version=5.1.11.928, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
             allowLocation="true"
             allowDefinition="Everywhere"/>

An error occurred creating the configuration section handler for Telerik.Reporting: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:\...\...\web.config line 5)
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

The assembly is Referenced properly and the fully qualified assembly name was taken from Reflector so it's 100% correct. Without this section - everything works fine.
Is this not the correct documentation?

I can't find anything more on this.
If these are not in fact in-built then does someone have an example of a web.config file with the correct values for all the inbuilt renders?

Thanks
Simon



Steve
Telerik team
 answered on 04 Nov 2011
2 answers
300 views
I have a report that shows me a customer's ID, their bank, and a certain fee. When I run the report it shows the correct data in the correct format but the report repeats itself. I should only be getting back one page but I am getting back sometimes 150 pages depending on which customer parameter I choose to run the report on. Here is a simple example of the data I should be getting back.

CustomerID: 123456     Bank: BOA    Fee: $300
CustomerID: 554433     Bank: Wells Fargo     Fee: $324
CustomerID: 225676     Bank: FCU    Fee: $400

However, when I run the report, I am getting back multiple pages containing the same data, like this:

CustomerID: 123456     Bank: BOA    Fee: $300
CustomerID: 554433     Bank: Wells Fargo     Fee: $324
CustomerID: 225676     Bank: FCU    Fee: $400

CustomerID: 123456     Bank: BOA    Fee: $300
CustomerID: 554433     Bank: Wells Fargo     Fee: $324
CustomerID: 225676     Bank: FCU    Fee: $400

CustomerID: 123456     Bank: BOA    Fee: $300
CustomerID: 554433     Bank: Wells Fargo     Fee: $324
CustomerID: 225676     Bank: FCU    Fee: $400

CustomerID: 123456     Bank: BOA    Fee: $300
CustomerID: 554433     Bank: Wells Fargo     Fee: $324
CustomerID: 225676     Bank: FCU    Fee: $400



Any ideas?
pmourfield
Top achievements
Rank 1
 answered on 04 Nov 2011
1 answer
113 views
I am trying to use the htmltextbox on a report. However, when I add an htmltextbox to the report I see the time it takes to display the report on the screen go from 3 seconds to 70 seconds. I see this time delay even when I don't tie any data to the htmltextbox and just allow it to display the default text. I have tried this with a blank report (table of about 100 records) which only has an htmltextbox on it and the speed to render is too slow to ever use this type of item.
I would appreciate any suggestions about how to resolve this issue.
Steve
Telerik team
 answered on 04 Nov 2011
1 answer
241 views

Hello,

I am currently evaluating your reporting product...  I am attempting to connect to an EF 4.1 Object Context...  I created a partial class with a new method that returns a list of a customized class for the report like so:


namespace Telerik.Reporting.Examples.CSharp
{
    public partial class WOCatalogEntities1
    {
        
        public List<ReportData> GetWorkOrdersForReport()
        {
            
            this.ContextOptions.LazyLoadingEnabled = true;
            var list = this.WorkOrderHeaders.Where(e => e.WOStatusType.is_open_status).Select(e => new ReportData
            {
                WONumber = e.wo_no,
                LastEdited = e.server_updt,
                Status = e.WOStatusType.status_desc,
                Task = e.task,
                Tech = e.WOPersonnel.lname,
                VendorNumber = e.pp_vendorcode,
                WOType = e.WOTaskType.TaskType,
                WOUnit = e.WORentalUnit.unit
            });
 
            return list.Take(50).ToList();;
            
        }
 
 
    }
 
    public class ReportData
    {
 
        public int WONumber { get; set; }
        public string WOUnit { get; set; }
        public string Tech { get; set; }
        public string Status { get; set; }
        public string VendorNumber { get; set; }
        public string Task { get; set; }
        public string WOType { get; set; }
        public DateTime? LastEdited { get; set; }
 
    }
 
 
}


the partial class is in the same assembly AND the same namespace as the Entity Model of the same name...  but I get the error that telerik cannot find the method ???



Telerik.Reporting.Processing.Data.ObjectDataSourceException: Method GetWorkOrdersForReport() not found.
   at Telerik.Reporting.Processing.Data.ObjectQueryProvider.GetSelectMethod(Type type, String name, IDictionary`2 parameters)
   at Telerik.Reporting.Processing.Data.ObjectQueryProvider.ResolveDataSourcePropertiesFromType()
   at Telerik.Reporting.Processing.Data.ObjectQueryProvider.ResolveDataSourceProperties()
   at Telerik.Reporting.Processing.Data.ObjectSchema.FillSchema(ObjectQueryProvider queryProvider)
   at Telerik.Reporting.Processing.Data.ObjectSchema..ctor(ObjectQueryProvider queryProvider)
   at Telerik.Reporting.Processing.Data.ObjectQueryProvider.CreateSchema()
   at Telerik.Reporting.Processing.Data.MultidimensionalQueryProvider.GetSchema()
   at Telerik.Reporting.Design.DataSourceService.GetCurrentDataSourceSchema(Boolean throwOnError)
   at Telerik.Reporting.Design.DataExplorerControl.RefreshDataSource()



Thanks
Greg


Peter
Telerik team
 answered on 04 Nov 2011
3 answers
209 views
I have reports that I want to display without paging so that they expand down the page without having to use the viewer's scrollbars.  Is there a way to do this?  I've got the non-paging reports working by using the GroupKeepTogether property, but I can't seem to set the viewer to not have a scrollbar and to render its full height.  Is this a limitation of using an iframe to render the report?
Steve
Telerik team
 answered on 04 Nov 2011
4 answers
252 views
Hello -
When I print the report I created (it is a web app, so printing via IE) and there is a label [ReportName] (including the brackets) that prints on the report output.  I looked at the properties for my report (in the report lib) and it does have a Name. 

So, where is this coming from and can I set it to be the actual name of the report?

Thanks
 - will
Steve
Telerik team
 answered on 04 Nov 2011
1 answer
126 views
Hi, 

I'm sure this is a common request. Do you have an example of how to report on recurring appointments using the recurrence pattern saved with the appointment?

We have many recurring appointments, and our reports need to include these when getting appointments by a range of dates.
We are using Entity Framework so ideally your example uses a partial class approach.

Thanks
Yana
Telerik team
 answered on 04 Nov 2011
1 answer
329 views
Hi,

I have a telerik report with chart.
The chart data source is a default sql query (I set it by design):

select *
from customers

In my ascx page I have a filter box, for example for the customer location with the values - All, France, Italy, Spain.
If the user selected location and pressed "Generate", I want to change the query to:

select *
from customers
where location = '(The selected value)'

if the selected value is all, I want to run the report as is.

Is there a way to change a chart query in run time?

Thanks!
Peter
Telerik team
 answered on 03 Nov 2011
9 answers
786 views
Hi,

Instead of having data in rows horizontally is it easy to list data vertically in columns.

E.g instead of

Name, Age, Country, Profession
Name, Age, Country, Profession
Name, Age, Country, Profession

I want to achieve

Name                    Name                 Name
Age                       Age                    Age
Country                Country              Country
Profession            Profession         Profession

Thanks,

Ronan

Steve
Telerik team
 answered on 03 Nov 2011
6 answers
199 views
I save chemiscal formula into sql2005 (ex: H2O, 2 is subscript by richtextbox format rtf), i want to show this formula in telerik report but i don't know . Can anyone help me?
Thank you
Kevin Y
Top achievements
Rank 1
 answered on 03 Nov 2011
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?