Telerik Forums
Reporting Forum
3 answers
386 views
We are looking for a reporting solution that will easily work with our existing read architecture. All of our read queries are returned from Query handler with an interface 
IQueryHandler<TQuery, TResult>

TQuery is a query with various parameters e.g. Employee Type etc
TResult is in most cases IEnumerable<T> E.g. we could have a person query whose return type is IEnumerable<Person>.

These queries are custom projections with various business logic in them so we can't go direct to the database.  

Can Telerik reporting easily be used to create reports and bind to a result type of IEnumerable<T>? We don't want to bind to something which implements IEnumerable<T> we want to bind something which is a IEnumerable<T>. We would like the report to be able to pass parameters which we could use to populate our Query object.

Also when is Telerik Reporting Q3 release estimated to be out? We want to use it in an MVC app (which I appreciate older versions can be) but it sounds a better experience in the next release

Any advice would be appreciated
Nasko
Telerik team
 answered on 23 Sep 2013
2 answers
377 views
So I was working on my project in TFS last night. We are rebuilding reporting using Rad Reporting tools. Everything was working fine and when I log on this morning to work on my project, It seems that I can run the project in a design view any more? I have attached two pictures of the files and how they have changed and what a normal set up looks like. I am not sure for what reason I cant run a Design view on my project any more.
 

Any help would be appreciate, If you need any form of code to help troubleshoot let me know.


Edit: So it looks like the project screws up when I change the workspace in TFS to Local to Server - Not sure if that means anything to you guys but that is what is causing the error.
Wadigzon
Top achievements
Rank 1
 answered on 20 Sep 2013
1 answer
169 views
I've already checked out most of the online references regarding this problem, I'm using the latest version: Q2 2013 SP1. I'm running .NET 4.0

As described in the title, the Report is rendering on Locahost but not on the server. And I noticed that that's only happening in IE (I tried IE 10)

Note that I'm using RadWindow to host the ReportViewer

I already registered the following in Web.config:

<configSections>
    <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting,       Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
 
<controls>
    <add tagPrefix="TelerikReportViewer" assembly="Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" />
    <add tagPrefix="CR" assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" />
</controls>
 
<httpHandlers>
    <add type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" />
</httpHandlers>
 
<system.webServer>
    <handlers accessPolicy="Read, Execute, Script">
        <add name="Telerik.ReportViewer.axd_*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" preCondition="integratedMode" />
    </handlers>
</system.webServer>

with no luck so far.

Thanks,
Stef
Telerik team
 answered on 20 Sep 2013
1 answer
277 views
I have this picturebox object picLogo in design mode (pbdesign.jpg)
its Size property is 312px, 67px, its Sizing is set to ScaleProportional

this is how I load a small bmp (24x26) into the picturebox in the code behind:

var bm = new System.Drawing.Bitmap("\\Logos\Image.bmp");
picLogo.Value = bm;

The result can be seen at pbrunning.jpg

As you can see the small bmp is LEFT justified in the space provided for the picturebox object.

is there any way to RIGHT justify this small bmp?
Stef
Telerik team
 answered on 20 Sep 2013
3 answers
179 views

The first time I opened VS, I was able to see my custom business objects in the Configure Object Data Source dialog.  However, now I'm not able to see any of the classes in the project in the Available data source types tab.  I've re-installed several times and have made sure to build the project when changes are made and before running any of the wizards.  I've added the following simple class which also does not show up in the list:

 

 

[System.ComponentModel.

DataObject(true)]

 

 

 

public class Car

 

 

 

 

 

 

{

 

 

public string Make { get; set; }

 

 

 

public string Model { get; set; }

 

 

 

public List<Car> GetCars()

 

 

{

 

 

return new List<Car>();

 

 

}

 

}



Is there a known issue with this version of Telerik Reporting related to the ability to view custom business objects?  I'm using Telerik Reporting version 4.2.10.1221.
Nasko
Telerik team
 answered on 20 Sep 2013
3 answers
447 views
Hello Guys,
  I would like to access the group total value, to calculate percentages of the children elements of the group.
  In the screenshot, I would like to be able to retrieve the value 110 or 95, so I can calculate the percentages like 47/110, 24/110, 5/110, etc. for each of the rows.

  I have already tried accesing the column total using EXEC function, but it will give me the total (110 + 95), instead of the individual total.
  I tried also accesing to the specific cell textbox, but is "out of scope"

So, which would be the specific action to retrieve this value?

Thanks!
Nasko
Telerik team
 answered on 20 Sep 2013
1 answer
242 views
Hi, i have a problem if i want to set subreport parameters and bindings at the same time from master report. Subreport parameters i set from designer, selecting "ReportSource" and than "Edit parameters". Subreport bindings I also set from designer (Poperty path: ReportSource, Expression: = GetReportSource(Fields.NestedClass) ). GetReportSource is method in master report .cs file:

public static ReportSource GetReportSource(object dataObject)
{
      var report = new TextReport();
      report.DataSource = dataObject;
      return new InstanceReportSource { ReportDocument = report };
}

When i fire my report i get exception "An error has occurred while processing the report. Processing canceled. Check the InnerException for more information. Invalid value of report parameter 'Title'." Parameter has null value (if i set in subreport "Allow Nulls" for parameter) report is showing.

If I remove parameter, data in subreport is well binded, and report shows properly. Also if I remove bindings report is showing properly and parameter has value.
Nasko
Telerik team
 answered on 20 Sep 2013
16 answers
386 views
I am getting an " InnerException for exception". It works on my development machine perfectly but when I deploy it, it get this error. Its simple report with no database connection. I have all the correct dlls deployed and the web.config is correct. I have done a fiddler on it and gives me a internal 500 error. The silverlight has other wcf calls with out any issues. I do have wcf logging turn on but I cannot see any errors. Can someone help me ?
Alex
Top achievements
Rank 1
 answered on 20 Sep 2013
1 answer
163 views
I am setting an Expando object as the data source for an ObjectDataSource and binding my Report to this.

It does not seem to work.

Can I bind a Telerik Report to an ExpandoObject ?

Thanks,

Stef
Telerik team
 answered on 20 Sep 2013
2 answers
246 views
I have a single page report right now. I want to add a report parameter that I can pass in true/false. If the parameter is false, then nothing changes and the report prints as a single page. If the parameter is true, I want the report two print out two pages (the exact same thing from page 1, just twice). 

What do I need to do to get the page to print twice? I'm using the web reporting so setting the print copies to 2 is not an option for me and it has to be done at the report level. 
Dustin
Top achievements
Rank 1
 answered on 19 Sep 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?