Telerik Forums
Reporting Forum
6 answers
466 views
Hi,

I create reports using standalone report designer. Reports are run on reportviewer in an asp.net webform. Is there anyway to capture report generation start and end time? Also is there anyway to capture timeout message and customize it?
Stef
Telerik team
 answered on 28 Apr 2014
3 answers
109 views
Hi, 

We are facing issues with the Telerik reporting' print... It was working previously, after newer adobe update: version Adobe Reader XI (11.0.02) nothing happens on the click of the print button. current reporting version installed on the server 5.1.11.713.

Thanks,
Anuj
Stef
Telerik team
 answered on 28 Apr 2014
1 answer
465 views
Hi,

I am creating a report for a membership database that lists all members of the organization, grouped by US state. For each state, each member record is displayed in a row with several columns of data (e.g., first name, last name, address, etc.). One of the columns is called "member type" and has values such as "youth", "adult", and "honorary". What I would like to do in the group footer is display a summary of the count of each member type found in the given US state. The table should look like this:

Member Type            Members
-------------------            -------------
Adult                                105
Youth                                 28
Honorary                             5
......

I created the report and everything looks great except I cannot figure out how to create this summary data in the group footer. Each state's members are grouped and displayed correctly but each state should have its own table at the end of each group section. I have tried a crosstab, creating a subreport but to no avail. Any advice is much appreciated.

Ivan Hristov
Telerik team
 answered on 28 Apr 2014
3 answers
219 views
Hi,

I am trying to convert an application that uses Crystal reports to use Telerik reporting

The issue I have is this... In my Crystal Report I have a cross tab that has months as columns and items as rows so I can see the value for each item month by month. There are also total columns and rows so I can see the total for each month as well as the total for each item. The cross tab is sorted so that the items with the highest total is at the top This is all fine and I have got this working in Terlerik reporting.

However, although this is fine if I want to show all items, what I actually want to show is the Top 5 items and everything else bundled into a 6th Item labelled "Other". I can do this in Crystal by using the "Cross-Tab Top N and Sort Expert", but how do I do this in Telerik?

Many thanks in advance

Regards



Huw
Stef
Telerik team
 answered on 28 Apr 2014
1 answer
175 views
I am trying to use the report viewer widget in my Existing MVC 4 project.  I followed the steps found on this tutorial:
.  http://www.telerik.com/help/reporting/mvc-report-viewer-extension-embedding.html
The difference I change from the guide posted to my own project was to put the styleing in my MVC project css and add the the javascript files with the MVC bundles.  

I am trying to view the reports from the reportviewer widget and am trying to use the follwing view to instantiate the widget

    @(Html.TelerikReporting().ReportViewer()
        .Id("reportViewer1")
        .ServiceUrl("/api/reports/")
        .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
        .ReportSource(report)
        .ViewMode(ViewModes.INTERACTIVE)
        .ScaleMode(ScaleModes.SPECIFIC)
        .Scale(1.0)
        .PersistSession(false)  )
but I am getting     an error in the ReportViewer-8.0.14 file in the throwIfNoReportInstance() function saying the report instance Id is undefined.  I know this is because the report instance is not created, but I am wondering where the report is instantiated at.  Thanks






KS
Top achievements
Rank 1
 answered on 28 Apr 2014
4 answers
124 views
What's the best way of creating a report with a dynamic number of columns?

For an example let's say I need to get the data of a person who has been scored in different subjects and by different scorers.

Subject      Scorer 1 |  Scorer 2 | Scorer 3...
Sub 1              2               3                6
Sub 2              1               4                4
Sub 3              5               3                1
Total                8               10              11
Max score       10            10               12

I do not know at the start how many subjects there will be or how many scorers there will be.  I also need to have each page of the report have a different person's scores on it.

I have tried using a crosstab, but I can't get the crosstab to page break between each person.  Which through some research it doesn't look like it's possible to page break within a crosstab.



Stef
Telerik team
 answered on 28 Apr 2014
2 answers
115 views
Hi,

Can I install Telerik Reporting to a Windows 2012 server?

In the Telerik Reporting download page (http://www.telerik.com/products/reporting/download.aspx) only up to Windows 2008 server is mentioned.

Thanks,
Indrajith
Indrajith
Top achievements
Rank 1
 answered on 27 Apr 2014
1 answer
124 views
Hi,
I try add ReportViewer control to the VisualWebPart.ascx
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1.ascx.cs" Inherits="testRap.VisualWebPart1.VisualWebPart1" %>

<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>


<telerik:ReportViewer ID="ReportViewer1" runat="server"></telerik:ReportViewer>

But when I open project and go to the designer of visual web part, I got message:



"The ReportViewer control failed to setup the http handler in the web.config file. You may experience troubles when viewing the report. Exception details: Object reference not set to an instance of an object."


I added to the C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config

 <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />  
in tags
 <system.webServer> 
    <handlers>

I have IIS 8.0 and Visual Studio 2012.

Best Regards
Pawel
  
Stef
Telerik team
 answered on 25 Apr 2014
3 answers
82 views
I recently upgraded my project to use Q1 2014 from Q3 2012 .  Ever since, I have been unable to use the arrow keys to position items in the report designer.  (I'm using VS2010.)  I really miss this feature!  Is there something I have to do to enable this?

Thanks
Stef
Telerik team
 answered on 25 Apr 2014
2 answers
221 views
Hi,

I am trying to use Telerik.ReportViewer.Wpf for Print Preview functionality in our app. As per the instructions  of "How to: Add report viewer to a WPF application" given at this link: http://www.telerik.com/help/reporting/wpf-report-viewer-embedding-the-viewer.html#BindingRedirects
I did everything and added Telerik.ReportViewer.Wpf.dll ,Telerik.Windows.Controls.dll,Telerik.Windows.Controls.Input.dll,Telerik.Windows.Controls.Navigation.dll and Telerik.Windows.Data.dll references to my project. In my case there is a calling application called EMR.WPF that calls my project which contains ReportViewer and when I try to load my UserControl containing the ReportViewer control I get following exception. Now the strange thing is if I add Telerik dll references to the calling EMR.WPF app then I don't get this exception anymore and the report viewer loads fine. Of course I don't want to add references to the calling app because it's like a third party app that I don't have control over. Any idea whats going on here and how I can fix this? Please need your help soon.

System.Windows.Markup.XamlParseException occurred
  HResult=-2146233087
  Message='Initialization of 'Telerik.ReportViewer.Wpf.ReportViewer' threw an exception.' Line number '11' and line position '72'.
  Source=PresentationFramework
  LineNumber=11
  LinePosition=72
  StackTrace:
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at CPWS.Reporting.PrintPreview.InitializeComponent() in c:\Projects\CardioPerfect\Dev\Continuous\CPWS.Windows\Views\Reporting\PrintPreview.xaml:line 1
       at CPWS.Reporting.PrintPreview..ctor() in c:\Projects\CardioPerfect\Dev\Continuous\CPWS.Windows\Views\Reporting\PrintPreview.xaml.cs:line 26
  InnerException: System.IO.FileNotFoundException
       HResult=-2147024894
       Message=Could not load file or assembly 'Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
       Source=mscorlib
       FileName=Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7
       FusionLog==== Pre-bind state information ===
LOG: DisplayName = Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7 | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Projects\CardioPerfect\Dev\Continuous\EMR.WPF\bin\Debug\EMR.WPF.vshost.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.DLL.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation/Telerik.Windows.Controls.Navigation.DLL.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.EXE.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation/Telerik.Windows.Controls.Navigation.EXE.

       StackTrace:
            at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
            at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
            at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
            at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
            at System.Windows.Baml2006.Baml2006Reader.ReadObject(KeyRecord record)
            at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)
            at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)
            at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.FetchResource(Object resourceKey, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean canCacheAsThemeResource, Boolean& canCache)
            at System.Windows.SystemResources.LookupResourceInDictionary(ResourceDictionary dictionary, Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
            at System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
            at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
            at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
            at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
            at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
            at System.Windows.FrameworkElement.TryFireInitialized()
            at System.Windows.FrameworkElement.EndInit()
            at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)
       InnerException: 

Mandar
Top achievements
Rank 1
 answered on 24 Apr 2014
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?