Telerik Forums
Reporting Forum
1 answer
485 views
I have a report in which there are some vertically stacked panels. Some of them may be hidden (with conditional formatting). How to set the location of the remaining panels so that there will be no empty space in place of a hidden panel (it already has Binding: Height = 0). Example
[some panel]
  [panel x may be hidden if no data]
  [panel y may be hidden if no data]
  [panel z may be hidden if no data]

So if panel y is hidden, z should move up. What kind of properties/bindings need to be set for this? The Y coordinate for the first panel is fixed.
Stef
Telerik team
 answered on 20 Mar 2015
4 answers
453 views
Hello, 

I am working on a report where i have a sub report ,

i implemented the NeedDataSource  event  of the SubReport object inside the main report,
Also i  set the ReportSource property to object instance of my Sub report.

The sub report is displayed correctly (for example setting "=Fields.Name"   in a text box returns the right value)

I need to access to the DataSource property inside the sub report  from C#  (this.dataSource) bu it is always null.


Thanks  in Advance 
Amine
Nasko
Telerik team
 answered on 20 Mar 2015
2 answers
245 views
Hi There,

I implemented some reports with parametric queries. Like start date, end date etc.. In addition, I am showing the selected report inside of Radwindow.
So they can see selected parameters when they close radwindow or make some changes on parameters.

Here is the problem, a user selects a report and report takes some time to load. Then,the user is closing the radwindow and changing date time parameter for example and press render button again. However the previous report request still processing and not terminated. I noticed that from SQL Server side. When the old one is completed new request is starting rendering. Therefore page is handling and waiting to finish other other window.

So I am looking a way do stop processing of old report render request if they close radwindow. 

Is there any idea that help me?

Thanks
Mikail
Top achievements
Rank 1
 answered on 19 Mar 2015
1 answer
313 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
281 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
700 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
227 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
229 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
279 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
102 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
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?