Telerik Forums
Reporting Forum
0 answers
172 views

Hi, 

I am working on a report that include some columns of currency. I have stored the currency symbols in database and fetching the appropriate form there. 
I am not able to group numbers when I concatenate currency fields with number field.

=Fields.(DrAmount)
When I apply grouping on above field I get appropriate result i.e 15,000.

=Fields.CurrencySymbol+' '+(Fields.DrAmount)
When try this one I can't group numbers and I get the result like this. i.e Rs 15000.0000

=Fields.CurrencySymbol+' '+CDbl(Fields.DrAmount)
When try this one I get the result like this. i.e Rs 15000

 

Muhammad
Top achievements
Rank 1
 asked on 15 May 2018
1 answer
130 views

Hello,

I am having problem defining parameter value from one report to a drillthrough report.

From one item in a table report (the origin report), I wish to open a target report and supply it some information through its Parameters.  This appears to be a simple case of a drillthrough report as described in this documentation page 'How to: Add a Drillthrough Report Action'.

What puzzles me is that, when defining the Action in a TextBox of the origin report, the Edit Parameters does not suggest any parameter name , as opposed to what the documentation describes.

Here are my steps, from inside MSVS 2015:

1. Open the origin report Design view, select a textbox - Properties - Action.

2. Open 'ReportSource' menu, Select 'Type name' and select the target report type class.

3. Open the 'Edit Parameters...' dialog, hit 'New' to create a new entry and drop-down the 'Parameter Name' combobox of this entry: it is empty; it does not contain the Report Parameters defined in the target report.  

The documentation says:

Click Edit Parameters button - Edit Parameters dialog appears. Click New. In the Parameter Name column select the name of the report parameter in the drillthrough report. In the Parameter Value, type or select the value to pass to the parameter in the drillthrough report.

What I am missing ?

I am using Reporting Q3 2014 SP1 from MSVS 2015.

Thx

Silviya
Telerik team
 answered on 15 May 2018
1 answer
545 views

Hi,
I have been working on Telerik report by following this example Telerik example for reports.

Currently, I'm using Elevate Database as backend. How can use object data source for binding data to  or Telerik report file?

Please provide a demo using elevate database or Microsoft SQL server database.

My reference   report.

Rick
Telerik team
 answered on 15 May 2018
1 answer
339 views

I'm trying to display a Telerik Report Viewer on ASP.NET WEB FORM (aspx page) and keep getting this error.

My Newtonsoft.Json is the latest version 11.

Please help.

Server Error in '/' Application.

Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] Telerik.ReportViewer.Html5.WebForms.ReportViewer.DeserializeViewerState() +0 Telerik.ReportViewer.Html5.WebForms.ReportViewer.UpdateViewer() +31 Telerik.ReportViewer.Html5.WebForms.ReportViewer.OnInit(EventArgs e) +16 System.Web.UI.Control.InitRecursive(Control namingContainer) +139 System.Web.UI.Control.InitRecursive(Control namingContainer) +312 System.Web.UI.Control.InitRecursive(Control namingContainer) +312 System.Web.UI.Control.InitRecursive(Control namingContainer) +312 System.Web.UI.Control.InitRecursive(Control namingContainer) +312 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0

John
Top achievements
Rank 1
 answered on 14 May 2018
1 answer
694 views

Hello,

I am trying to deploy the Telerik Report Viewer to the web server. I am getting the following error.

"Telerik.ReportViewer.axd?instanceID=e6204a0004c64dba8b95fdee47c0fd0e&optype=Report&PageIndex=0&RenderID=5f481db5a30340fd84ddaa1797c3c109&RenderingFormat=HTML5Interactive 500 (Internal Server Error)"

 

NOTE : It is working fine in my development machine. while deploying to the web server , I am getting this error. Please help. 

 

<system.webServer>
    <handlers>
      <remove name="Telerik.ReportViewer.axd_*"/>
      <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=11.0.17.222, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />
    </handlers>
    <validation validateIntegratedModeConfiguration="false" />
    </system.webServer>

Todor
Telerik team
 answered on 14 May 2018
5 answers
196 views
I'm trying to localize the export formats by creating my own renders, that is I've not yet come to that stage :(

I've modified by web.config as follows:

<?xml version="1.0"?>  
<configuration> 
    <configSections> 
    <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting.Processing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere"/>   
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
....  
....  
.... 

and created the section:

    </configSections> 
  <Telerik.Reporting> 
    <Extensions> 
      <Render> 
        <Extension name="TIFF_CCITT4" 
                   type="Telerik.Reporting.ImageRendering.ImageReport, Telerik.Reporting.Processing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" 
                   description="TIFF file (CCITT Group 4)">  
          <Parameters> 
            <Parameter name="TiffCompression" value="ccitt4" /> 
          </Parameters> 
        </Extension> 
      </Render> 
    </Extensions> 
  </Telerik.Reporting> 
  <system.web> 
....  
.... 

But I keep getting the error:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred creating the configuration section handler for Telerik.Reporting: Could not load file or assembly 'Telerik.Reporting.Processing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. Den angivne fil blev ikke fundet.

Source Error:

Line 2:  <configuration>
Line 3:   <configSections>
Line 4:      <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting.Processing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere"/>
Line 5:      <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Line 6:     <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

 
What am I doing wrong here?

Btw. does anyone know if it possible to exclude certain export formats from the webviewer?

 


Katia
Telerik team
 answered on 14 May 2018
1 answer
263 views

I've read many posts regarding this but I still can't find a solution to my problem.

I currently have a graph (stacked bar) in a report created with Visual Studio designer.

 

I then try to bind some data to the graph, but the graph always appears empty in the previews:

public GraphReport()
        {
            InitializeComponent();

            var h1 = new Person
            {
                Name = "John",
                Age = 28
            };

            var h2 = new Human
            {
                Name = "Carl",
                Age = 31
            };
            var list = new List<Human> { h1, h2 };
            graph1.DataSource = list;
        }

Katia
Telerik team
 answered on 14 May 2018
0 answers
167 views

Hi

I'm development a reports and the reports running fine.

Now I add a new group above the Detail in rptReportTotalPages Groups, and I add the Fields.Customer_Name in Grouping. After that my Action - Sorting stopped the work!

If I remove the variable the Grouping my Action - Sorting work very well, but if I add the variable in Groupin the Action - Sorting not work again!

I tested the Action - Sorting with all Sort targets avaiable, but any option not worked

I see the picture in attached

Could you help with this issue?

Tks

Carlos

Carlos Eduardo
Top achievements
Rank 1
 asked on 12 May 2018
0 answers
180 views

Hello,

I use telerik reporting in a RAD tool. I have a problem using images in reports. When I insert the image into telerik reporting, it gets very large. However, when printing it is the right size.

The problem is that in the preview, before printing, it gets huge. attach some images to facilitate understanding.

 

Thank you

Claudio
Top achievements
Rank 1
Iron
 asked on 12 May 2018
5 answers
1.0K+ views

We're using Telerik Winforms (2018.1.220.40) and Telerik Reporting (12.0.18.416). When a computer with Windows High DPI Scaling set to greater then 100% prints a report, the report is tiny and shrunken in the corner of the page.

Due to many of our users using Surface Tablets, this issue is a must fix. Please let us know how to resolve it. I can reproduce the issue with a sample project that with an incredibly simple repor, so it's nothing in our code.

Silviya
Telerik team
 answered on 10 May 2018
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?