Telerik Forums
Reporting Forum
1 answer
1.2K+ views
Hi

I am having problems with setting the visibility of icons in my pdf reports.
I have placed the image of an icon in a column (pictureBox).  I set its default visibility to 'False'.  Then I use ConditionalFormatting to set the visibility with expression --

Expression               Operator            Value
Fields.HasFlags        =                        True

And in the Style section, I check the 'visible' box.

It seems to behave differently in two different reports even though the property is set in exactly the same way.  In one report, it shows up correctly; in the other it does not. 

Please help.
Thanks, Raka
Stef
Telerik team
 answered on 26 Jul 2013
1 answer
96 views
Hello,

Is there any way we can customize the Export Dialog so we can add OPEN button? Please see the attached image.

Please advise. Thanks in advance!
Squall
Top achievements
Rank 1
 answered on 26 Jul 2013
1 answer
293 views
I've been building a POS application for a restaurant/Bar. The design part is done and for the past month i've been coding it. Everything works fine except now i need to print. I have to print to a receipt printer connected to the computer running the software and later i'll try to print in a remote printer like a kitchen one.

Is it possible to print pay receipt using telerik Reporting tool. 
Peter
Telerik team
 answered on 25 Jul 2013
8 answers
1.0K+ views
I've got a report which consists of a crosstab used to present a weekly calendar of events.
The first issue I ran into was that with the crosstab in the Details section of the report, the entire thing repeated for each record in the data set.  (If I had 7 items in the data set, I'd get the full 40-item crosstab repeated 40 times.)

I solved that by moving the crosstab into a group header, figuring I'd add a label to say which group it was part of.  Unfortunately, now I'm getting the entire thing repeated once for each group, so now my 40-item crosstab is repeated 4 times.  That's 'better', but it's still not what I want.

I can deal with not having group headers, since the normal use-case for this particular report is to view it one group at a time, but it does need to be an option to see the data across all groups.  How can I either filter the results shown so that you only see one group's data at a time, or simply stop it from repeating for each group?
Irmgard
Top achievements
Rank 1
 answered on 25 Jul 2013
5 answers
144 views
Hello everybody,
While using Telerik Reporting, with the Silverlight Report Viewer interface, I noticed a few weird features. I searched on the forums & Internet, and didn't find anything. Thus, I'm not sure if those are known bugs or not.

1) Navigation Selection doesn't follow:
Let's begin with a demo http://demos.telerik.com/reporting/report-book/silverlight-demo.aspx 
When an item is selected in the navigation pane left (document map) it opens the right page. That is okay. But after that, when the blue arrows in the upper menu are used (First page, previous page, next page, last page), the selection of the navigation item doesn't change. It remains on the first item selected. Is that a bug? Is it possible to catch the event and change the selected item in the navigation pane? 

2) Direct printing document:
On the upper menu is a "Print report" Icon. With my report (which is around 50 pages), when that button is pressed, it shows the pop-up "Preparing to print ( x%)" like it should. But as the percent advance, the percents progressively get slower. It gets so slow that it never hits the 100%. Is there a work around for that? Or may it be possible to remove the "direct print" button from the viewer, so it can't be pressed?

3) Previous / next report buttons:
On the upper menu are 2 green buttons "Navigate back in history" and "Navigate forward in history". Those buttons are never used for my reports. Is it possible to remove them, so they can't be pressed? Because that fills the action bar with unused actions that may confuse some people.


Thanks in advance,
Raphael

PS: The Telerik Report versions Q3 2011 SP1


Gaurav
Top achievements
Rank 1
 answered on 25 Jul 2013
3 answers
712 views
I have this report, that use hierarchical instances of business objects (eg. Master details) as DataSource.
I display the entire tree using a system of report and sub-reports. Data is passed from the parent report to the child report by setting a Binding (using Report.Bindings property) on the "DataSource" property of the child report.

Now, I need to display the last leaf item "running count" or "row number" , in relation to the topmost report. I've tried to use the "RowNumber", "RunningValue", "Exec" functions to resolve my problem, but it keep giving me this "Invalid Scope" error for all functions. 

So in the details of my "leaf" report (3rd level of sub-report), I've tried use theses expressions  to display the "running count" of leaf items. No success. They all end up with an "InvalidScope" error.

1) =Exec("MasterReport",Count(1))
2) =RunningValue("MasterDetailSection", Count(Fields.Name))
3) =RowNumber("MasterReportName")
4) =RowNumber("MasterDetailSection")

Where:
- "MasterReport" is the value of the Report.Name property of my master report
- "MasterReportName" is the Name property of the DetailSection of the master report.

Can anyone help me with this ?
Stef
Telerik team
 answered on 25 Jul 2013
2 answers
151 views
I am using the custom report service so I can pass in the file name of the trdx - this works perfectly in development and deployed to localhost. However when I deploy to the hosted server (Arvixe) the service is not available.

I have tested this by trying to access ReportService.svc directlyfrom the browser with Fiddler active and I get no response. Accessing the local hosted version works as per expected.

The site hosts a normal WCF service so it is configured to support services. The url is http://www.reefrescue.critsoft.net/ReportService.svc

This is the webconfig
<configuration>
    <system.web>
        <compilation debug="false"
                                 targetFramework="4.0" />
        <authentication mode="Windows"/>       
    <customErrors mode="On" defaultRedirect="GenericErrorPage.aspx">
        <!--<error statusCode="404" redirect="Http404ErrorPage.aspx"/>-->
    </customErrors>
    </system.web>
    <connectionStrings>
        <add name="COTSDev" connectionString="Data Source=csd2011;Initial Catalog=COTS;Persist Security Info=True;User ID=CSDApp1;Password=" providerName="System.Data.SqlClient"/>
        <add name="COTSProd" connectionString="Data Source=rosebloom.arvixe.com;Initial Catalog=COTS;Persist Security Info=True;User ID=CSDApp1;Password=" providerName="System.Data.SqlClient"/>
    </connectionStrings>
     
    <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
        <services>
            <service name="Cots.Web.CustomReportService"
                             behaviorConfiguration="ReportServiceBehavior">
                <endpoint address=""
                                    binding="basicHttpBinding"
                                    contract="Telerik.Reporting.Service.IReportService">
                    <!--<identity>
            <dns value="localhost"/>
          </identity>-->
                </endpoint>
                <endpoint address="resources"
                                    binding="webHttpBinding"
                                    behaviorConfiguration="WebBehavior"
                                    contract="Telerik.Reporting.Service.IResourceService"/>
                 
                <endpoint address="mex"
                                    binding="mexHttpBinding"
                                    contract="IMetadataExchange"/>
            </service>
        </services>
        <behaviors>
            <serviceBehaviors>
                <behavior name="ReportServiceBehavior">
                    <serviceMetadata httpGetEnabled="true"/>
                    <serviceDebug includeExceptionDetailInFaults="false"/>
                </behavior>
            </serviceBehaviors>
            <endpointBehaviors>
                <behavior name="WebBehavior">
                    <webHttp/>
                </behavior>
            </endpointBehaviors>
        </behaviors>
    </system.serviceModel>
</configuration>

Header of ReportService.svc
<%@ServiceHost Service="Cots.Web.CustomReportService, Cots.Web" %>

CustomeReportService.cs
namespace Cots.Web
{
    using Telerik.Reporting.Service;
    using Telerik.Reporting;
    using System.IO;
 
    public class CustomReportService : ReportService
    {
        //
        static readonly IReportResolver resolvers = new CustomReportResolverWithFallBack(
                                                                                                        new ReportTypeResolver(
                                                                                                                new ReportFileResolver(
                                                                                                                 new ReportFileResolverWeb(null))));
        public CustomReportService()
        {
            this.ReportResolver = resolvers;
        }
    }
 
    class CustomReportResolverWithFallBack : IReportResolver
    {
        readonly IReportResolver parentResolver;
 
        public CustomReportResolverWithFallBack(IReportResolver parentResolver)
        {
            this.parentResolver = parentResolver;
        }
 
        public ReportSource Resolve(string report)
        {
            FileInfo oFI = new FileInfo(report);
 
            ReportSource reportDocument = this.CustomReportResolver(report);
 
            if (null == reportDocument
                 && null != this.parentResolver)
            {
                reportDocument = this.parentResolver.Resolve(report);
            }
 
            return reportDocument;
        }
 
        public ReportSource CustomReportResolver(string report)
        {
            //TODO implement custom report resolving mechanism
            return null;
        }
    }
}

Short of uploading the entire project I don't know what else to do!



Mark
Top achievements
Rank 1
 answered on 25 Jul 2013
1 answer
64 views
I am looking for some one who is expert in telerik reports. I have 25-30 reports that needs to be done. Need is immediate. Your location doesn't matter as long as you can work few hours during PST. 
Tim
Top achievements
Rank 1
 answered on 24 Jul 2013
1 answer
104 views
I am using the latest Q2 2013 release. I am using the Visual Studio report builder.

I have a report that has 3 tables. They're each bound to the same object data source. Each of the three tables is reporting on the same data but in a slightly different way. The problem I have is that the object data source select method is called once per table. This is a problem because the select method is grabbing a RANDOM subset of the available data (the randomness has to exist for proper government reporting requirements). Since the method is called three times, I am getting three different sets of random data. That doesn't work. What I need is the method to be called ONCE and all three tables to reference that set of data. Is there some way I can accomplish this?

Thanks
Kyle Smith
Top achievements
Rank 1
 answered on 24 Jul 2013
1 answer
115 views
Do you have an infinite scroll or continuous scroll for the report viewer? Thus as you scroll it goes to the next page rather than having to hit the next button? 
Peter
Telerik team
 answered on 24 Jul 2013
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?