Telerik Forums
Reporting Forum
1 answer
576 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
362 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
725 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
209 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
281 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
181 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
196 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
3 answers
590 views
on my report I have a table and header repeats every 4 rows. See example
Silviya
Telerik team
 answered on 10 May 2018
1 answer
875 views

Hi,

 

Im trying to display an image using relative path but with IIF condition.

here is my expression value

this.pictureBox1.Value = "IIf(Fields.StartTime.Hour > 12, images\\sun-o.png , images\\moon-o-png)";

 

but this returns an error saying illegal characters in path.. how do i use the IIF condition to display relative path images.

Silviya
Telerik team
 answered on 10 May 2018
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?