Telerik Forums
Reporting Forum
1 answer
302 views
Is it possible to print a Telerik report to a specific printer tray using code (c#)? Or are there any suggested methods of making that happen? I've read about creating a PDF and using a third-party option to specify a tray.

No direct solution from Telerik?

Thanks
Stef
Telerik team
 answered on 19 Mar 2015
6 answers
271 views
When I preview my report, I get the nice Telerik calendar control for my date parameter but in the web browser, I get the ugly HTML calendar which has no year selection etc.

What could I be doing wrong?
I have the Telerik Web UI DLL in my bin folder and the proper reporting dll
Stef
Telerik team
 answered on 18 Mar 2015
1 answer
674 views
Hi,
    My question is how to calculate the below expression.

A              B                      C
0              0                       50 Constant for all report
10            20                   =50-(10+20)=20
20            30                   =20-(20+30)=-30

means 1st row of C - sum(2nd row A + 2nd row B)
like runningvalue continue
Nasko
Telerik team
 answered on 18 Mar 2015
1 answer
218 views
Hi All,

I've got a report where parameters are used in cascading manner. One of the requirements is to have conditional on parameter B based on parameter A selection. Therefore, if selection of parameter A returns 1 record for parameter B, then that should be selected by default; else no selection for parameter B is made.

To accomplish this, I'm trying to tie an event handler to a report parameter on Select. Is this possible? I tried using PropertyChanged, but that does not fire. Do I need to use NeedDataSource event for parameter B's binding??? 
Nasko
Telerik team
 answered on 17 Mar 2015
4 answers
219 views
I designed a report using Report Designer Q1 2014. When Im going to re configure the previous data source,  the window related to select the stored procedure is not responding. Some times the window is loading, but the combo box related to select the stored procedure is not visible. ( Test Connection is Successful )
Stef
Telerik team
 answered on 16 Mar 2015
8 answers
256 views
Hi,

Ive got a graph which is very small but has a lot of bars on it, using a category scale. Obviously theres no way all the labels will fit so im trying to hide some.

From various forum posts ive seen that I should set the Label property on my category group to either the value i want or an empty string for the ones i want to hide. This part works but when the graph is rendered the labels are still too small and get cropped even though the labels next to them are blank.
See attached image.

Below is the expression im using on the CategoryGroup Label:
= IIf(Fields.Band = "8Hz" Or Fields.Band = "16Hz" Or Fields.Band = "31.5Hz" Or Fields.Band = "63Hz" Or Fields.Band = "125Hz" Or Fields.Band = "250Hz" Or Fields.Band = "500Hz" Or Fields.Band = "1kHz" Or Fields.Band = "2kHz" Or Fields.Band = "4kHz" Or Fields.Band = "8kHz" Or Fields.Band = "16kHz",
 Fields.Band, "")
I also tried Null instead of empty string but it didnt change anything.

Is there something I can change to get it to render the labels correctly? Or is there some other approach i should be using? I considered a numerical scale and using the step value to skip some labels but there doesnt seem to be a way to override what text is displayed in that case.

Thanks,
Martin
Nasko
Telerik team
 answered on 16 Mar 2015
5 answers
99 views
Hi, i'm developing a Silverlight solution that use ReportView. In my mind, ill create reports on stand alone Report Designer and save the .trdx files on specific folder. Using a default  Report Resolver, i didn't find how to do this. So, i created a custom Report Resolver like on Telerik Report Documentation. Perfect, the report viewer could connect with my ReportService using my custom resolver BUT, i don't know how to deal with it. There is no pratical example of it. Here is the code of my custom report resolver, it works partially, because it gets the report, send and on the report viewer didn't show.

namespace Services.Code_Test
{
    using Telerik.Reporting.Service;
    using Telerik.Reporting;
    using System.IO;

    public class CustomReportService : ReportService
    {
        static readonly IReportResolver resolver = new ReportResolver();

        public CustomReportService()
        {
            this.ReportResolver = resolver;
        }
    }

    public class ReportResolver : IReportResolver
    {
        public ReportSource Resolve(string report)
        {
            string path = string.Format(@"D:\Reports\{0}.trdx", report);
            UriReportSource uriReportSource = new UriReportSource();
             uriReportSource.Uri = report;
            return uriReportSource;
        }
    }
}

What i am doing wrong?
Stef
Telerik team
 answered on 16 Mar 2015
5 answers
374 views
Hi All,

I am new to Telerik reporting and am working on my first Telerik report. We are using Telerik Reproting Q1 2015 in Visual Studio 2010.

My query/data source returns a set of product names, quarter of the week sold, week sold, qty sold columns. The report needs to group by quarter. Each quarter will have the following columns: Product, Each week in the group's quarter. And the values contain the qty sold in the week.

In my report, using Visual Studio designer, I added Quarter, Product to row group, Week to column group and qty Sold to values.

Issue:
This is generated all the weeks of all the quarters in the entire table. But what is desired is each row group for the quarter should show weekly columns that pertain to the quarter, meaning In the row group for Q1 2015 I need to have columns for the weeks in Jan-Mar of 2015 and in the row group Q2 2015 should have Apr-Jun 2015 week columns. This also means that each group item will have different columns.

How can I achieve this? I tried google and also looking through the Telerik examples but could not find any major help.

I appreciate any help or guidance

Thanks
Jaideep

Hinata
Top achievements
Rank 1
 answered on 16 Mar 2015
1 answer
113 views
I have created a graph which has a datetime field as the x-axis.  From the datasource, the datatype is datetime. 

I want the x axis lables to show only MM/dd/yy, but it always wants to show the time.  I have tried custom format on the legend with {0:MM/dd/yy} but that throws an error in the graph saying:  Input string was not in a correct format.  I try without the {} brackets.  Still shows time. 

I have also tried changing Scale to DateTime Scale (at this point I am shooting in the dark).  Is there a way to get these times to go away?

Thanks,
Phil
Stef
Telerik team
 answered on 16 Mar 2015
1 answer
591 views
Hi everyone, 

Is it somehow (in the designer) possible to set the visibility property of a GraphGroup dynamically (e.g. via a Parameter). 

I would like to provide only a single report and determine the visibility depending on the entry point of the end-user. 

Thanks a lot for providing any insights/possible work arounds. 

Best regards!
Nasko
Telerik team
 answered on 16 Mar 2015
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?