Telerik Forums
Reporting Forum
13 answers
461 views

I have a VB.NET web application (4.0) Telerik Reporting Q1 2013.  What I need to do is something like tabs in excel where each tab is a different date.  I have datatables to bind the report to.  The online documentation is not as good as I hoped it would be so any direction would be greatly appreciated.

Thanks

Nasko
Telerik team
 answered on 23 Jun 2015
4 answers
163 views

Hi there,

 I am trying to figure out couple of things on reports that are driving me crazy for past few days. Any pointers would be appreciated:

Background-

We are using Telerik.Reporting to display stacked column charts. The data is bound using a stored proc and bound to the chart using declarative properties. The data returned back by sp is fairly simple:

Type  Name Total

T1      N1      20

T1      N2      05

...

T2     N1       03

T2     N3       05

...

The sp parameters are bound to report parameters and we have a filter on Type (i.e. at a given point of time you are viewing the graph for one type). The graph is on Name and total (Y-axis). Now the issues that we have is:

1. Setting individual bar width dynamically - the number of names that can be returned are dynamic, if only two names are returned the individual bar's width is too much making it look ugly. What we would like to accomplish is setting max-width of a bar somehow.

2. Y-axis scale - If we don't set the scale and the Total returned is a small number, it shows the scale in decimal which doesn't make sense for most of our reports (since they are on Person and other whole numbers). I don't want to hard-code the "MajorStep" of Scale to a number since I still want the scale to be adjusted dynamically based on the "Total" that is being returned, so if the "Totals" are 500, 100 I would rather prefer the MajorStep to be 50. Basically, I want to limit the number of Major ticks and then step the Step based on that, something like say I want to have only 10 major ticks and if the highest total returned is 550, I would want to set  my Major step to 550/10 = 55 or somewhere around that.

Let me know if any further information is needed.

Nasko
Telerik team
 answered on 22 Jun 2015
1 answer
132 views

I have downloaded the reporting demo version for VB.Net. On opening either Telerik report Q1 2015(Blank) or Telerik report Q1 2015 Wizard I'm getting  error: Framework is not supported.

I'm running VS Professional 2013 version: 12.0.30723.00 update 3

.Net framework version 4.5.51650 multi targeting pack

Stef
Telerik team
 answered on 22 Jun 2015
1 answer
54 views

I try to create simple ASP MVC application with Telerik Reporting. But I do not see report. And There are not errors.

 

Here is source code

** The linked is removed by admin. Please do not publish publicly telerik Dev assemblies - Telerik End User License Agreement for Telerik Reporting and Telerik Report Designer***

Please help

Stef
Telerik team
 answered on 19 Jun 2015
2 answers
470 views

VS2013, Telerik Reporting Q1 2015, EF 6

I'm attempting my first Telerik Report, but I'm running into a pretty big stumbling point. I have an MVC 5 web app and a separate project with my EF code first data objects. Now I've added a Telerik Reporting project and I'm attempting to create some reports using the entity objects. I added a project reference to my data project - I'm not sure if this is necessary and it shows a small yellow triangle on the reference for some reason.

While creating a new report I choose to use an Entity Data Source. I'm presented with the connection strings it finds in web.config from my web app so I choose the one I'd like to use. On the next screen where it's asking me to choose a context (DbContext or ObjectContext) the box that's supposed to list my contexts is completely empty.

I'm stumped. I guess I could go back to the stand alone report designer and just use SQL to build my reports, but I really want to be able to manipulate the data and do my data selection for my report in code since I already have all my nice POCOs and relationships all built with EF. Is there a good, complete, end-to-end walkthrough for this? There are bits and pieces of documentation, but I haven't found anything that is a complete example all in one place.

Stef
Telerik team
 answered on 19 Jun 2015
1 answer
105 views
Hi guys,

I'm trying to rotate the label that indicates the value of the frame along the x-axis at the bottom of the graph, but I can't find how to edit this... I would like to have the months displayed horizontally and not diagonally

Someone know how can I edit this property?
Stef
Telerik team
 answered on 19 Jun 2015
1 answer
339 views

Hello guys. 

We are storing the TRDX files in the Windows Azure Cloud Storage in a Asp.Net MVC application. Given the *.trdx files are not on the disk, we need to verify at runtime (in a class that implements IReportResolver) if the report has a subreport. If it has, we try to get the trdx (xml content) an set the reportSource of a subReport as a XmlReportSource. Actually, we need to replace a UriReportSource to a XmlReportSource. It works when we do not have parameter, but does not work when we have parameters. Look at the code bellow:

// find a detail section and a subReport on it.
foreach (var section in reportInstance.Items.Where(i => i is DetailSection))
    foreach (var item in section.Items.Where(i => i is SubReport))
    {
        var subReport = (SubReport) item;
         
        // if the subReport is an UriReportSource
        if (subReport.ReportSource is UriReportSource)
        {
            // we try to convert the UriReportSource to XmlReportSource
            var subReportUriSource = (UriReportSource) subReport.ReportSource;
             
            // get an object that represents a report in our system
            var subReportViewModel = reportService.GetSubReportFileName(reportId, subReportUriSource.Uri);
 
            // create an instance of our helper to get the content from the windows azure cloud storage
            var storage = CloudStorageFactory.Create();
 
            // get the xml content
            var xmlContent = storage.GetContent(subReportViewModel.FileName);
 
            // create a XmlReportSource with the xmlContent
            var xmlReportSource = new XmlReportSource() {Xml = xmlContent};
             
            // set the parameters
            foreach (var parameter in subReportUriSource.Parameters)
                xmlReportSource.Parameters.Add(parameter);
             
            // set on the ReportSource
            subReport.ReportSource = xmlReportSource;
        }
    }
 

I am not sure if I can do it at runtime, or what I am doing wrong but it is giving an error like this:

 
Internal Server Error:
An error has occurred while processing the report. Processing canceled. Check the InnerException for more information.Invalid value of report parameter 'PersonID'.

 

Does anybody know what I can try? 

 

Internal Server Error:
An error has occurred while processing the report. Processing canceled. Check the InnerException for more information.Invalid value of report parameter 'PersonID'.
Internal Server Error:
An error has occurred while processing the report. Processing canceled. Check the InnerException for more information.Invalid value of report parameter 'PersonID'.
Internal Server Error:
An error has occurred while processing the report. Processing canceled. Check the InnerException for more information.Invalid value of report parameter 'PersonID'.
Stef
Telerik team
 answered on 19 Jun 2015
1 answer
197 views

I must be missing something. I have a WPF app that I have a report that was designed within VS. I then followed the docs to create a Report Viewer. If I add a value to the report parameters from the designer the report works well. What I would like to do is display a window so the user can make choices mostly check boxes. Then pass the choices to the parameters of the report thru the report viewer.

Thank you,

John

 

Nasko
Telerik team
 answered on 19 Jun 2015
13 answers
808 views
Hi;
When will you be supporting QR-Code printing?

Thanks!
Stef
Telerik team
 answered on 19 Jun 2015
3 answers
146 views
Hi,

Can anyone advise me on the above?

Thanks,
Richard
Stef
Telerik team
 answered on 19 Jun 2015
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?