Telerik Forums
Reporting Forum
1 answer
276 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
140 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
682 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
137 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
60 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
100 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
106 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
1 answer
167 views
I have a report where I am using a crosstab in the report header section to display summary test data for all "sites"  My crosstab has 1 row group and 3 nested Column groups (Category, Testtype, Sitegrp).  The testtype field has a toggle visibility action that will display the site group columns when expanded.  Everything works as planned in the report header section.

When I try to duplicate this same table in the site group header section and add a filter to the new crosstab's sitegrp2 to restrict the site group columns to just the site in the group instead of displaying all sites, I have problems. 

When I use the following expression to filter the sight group in the second crosstab, the toggle will not work.  It will display correctly if I have no toggle and have everything visible. 

=Fields.site = =ReportItem.Parent.DataObject.site


The toggle WILL work in the group header crosstab if I hard code the filter. Which is a problem, since it shows the one site's data for each site.

=Fields.site = ='Mysite'


If the page refreshes, the crrosstab in the group header section no longer displays the sitegrp2 columns for either scenario, even though I have the visibility property set to True.

Is this a bug or am I doing somthing wrong.

-Jennifer
Stef
Telerik team
 answered on 24 Jul 2013
1 answer
169 views
In another thread, I read that connecting to Excel as a datasource would be available as of Q3 2012.  I cannot find documentation on how to do this.  Can someone please tell me how to connect to an excel spreadsheet datasource using the stand alone report designer?

Thanks,
Jennifer
Squall
Top achievements
Rank 1
 answered on 24 Jul 2013
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?