Telerik Forums
Reporting Forum
1 answer
223 views

1) Created a new project

2) choose blank report template "Report2", added a single textbox

3) Added a Web Forms report viewer form Q12016

4) selected existing report

Class with name Report2 is not found
Class with name Report2 is found in Reports project.
Get project references.
Error: Fail to add project reference
Class with name Report2 is not found
Class with name Report2 is found in Reports project.

Stef
Telerik team
 answered on 15 Apr 2016
1 answer
421 views

Using the designer in VS2016, Reporting Q12016, when I preview a report that is in the VS designer i get these messages

 

Error CS0234 The type or namespace name 'WebApi' does not exist in the namespace 'Telerik.Reporting.Services' (are you missing an assembly reference?) ReportLibraryC:\inetpub\MEWTG\Reports\ReportLibrary\Controllers\ReportsController.cs7

ErrorCS0246 The type or namespace name 'ReportsControllerBase' could not be found (are you missing a using directive or an assembly reference?) ReportLibrary C:\inetpub\MEWTG\Reports\ReportLibrary\Controllers\ReportsController.cs11

ErrorCS0234 The type or namespace name 'Http' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) ReportLibraryC:\inetpub\MEWTG\Reports\ReportLibrary\Global.asax.cs15

ErrorCS0012 The type 'HttpConfiguration' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.ReportLibraryC:\inetpub\MEWTG\Reports\ReportLibrary\Global.asax.cs15Active

The primary reference "Telerik.Reporting.Services.WebApi, Version=10.0.16.204, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" could not be resolved because it has an indirect dependency on the framework assembly "System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "Telerik.Reporting.Services.WebApi, Version=10.0.16.204, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" or retarget your application to a framework version which contains "System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

Stef
Telerik team
 answered on 15 Apr 2016
1 answer
116 views

Hi,

I am using Telerik reportin Version 10.0.16.113 and I want to create report like "Report Book" sample on this URL.

Do any one have worked on report like the example on above URL? If yes, please guide me on the same.

 

Thanks.

Stef
Telerik team
 answered on 14 Apr 2016
3 answers
38 views
Can you point me in the right direction for user documentation on a couple of your components please.

I would like a copy of the reporting component help text in electronic format and also anything that you have on the pivotgrid component. We need these to prepare some training materials, help files and documentation.
Katia
Telerik team
 answered on 14 Apr 2016
3 answers
558 views

Hi,

 Which is the easy and better way for telerik reporting (.cs report file or .trdx report file)?

I am new in telerik reporting. I have searched for the reporting sample and documentation but I didn't get relevant information for the same. If anyone having reporting  sample or any other solution please share with me.

Thanks.

Nasko
Telerik team
 answered on 14 Apr 2016
5 answers
132 views

I'm trying to get access to The Graph (bar graph) data points in order to change their background colors.

Anyone knows how to get to these data points?

Katia
Telerik team
 answered on 14 Apr 2016
4 answers
229 views

I am trying to locate a setting that will allow me to prevent the end user from changing the report layout (i.e. from Landscape to Portrait.)

The software we have sets the page to Landscape prior to sending the report to the report viewer. I now need to prevent the end user from switching the layout to Portrait vis the Page Settings dialog that is available though the Report Viewer.

 

Any Ideas?

Tom
Top achievements
Rank 1
 answered on 13 Apr 2016
1 answer
349 views

Hi,

I am evaluating Telerik Reports for our project requirements. I would like to know whether it is possible to set the Culture value of the report (en-US, es-MX, etc.) from a DataSource property. The culture information is returned as part of the data source and we are trying to build the report based on the value returned from the DB during run-time. I tried to set the Culture value in the 2 ways shown below, but both didn't work.

1) this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "= SampleReport.getCulture(ReportItem.DataObject.RawData)"));

2) this.Culture = new System.Globalization.CultureInfo("= {Fields.[CultureInfo]}");

Katia
Telerik team
 answered on 13 Apr 2016
4 answers
100 views

Hello Support Team,

we need in our reports a table of contents with page number of each chapter.

DocumentMap functionality is a very good approach. However, because we lack the access to the relevant page number of DocumentMap element.

One could perhaps provide a copy of IList <DocumentMapNodeModel> documentMapNodes in Class ReportViewer (WPF).

After rendering the report I could see the page numbers for the creation of the TOC.

Or is there perhaps a solution to our problem?

Michael
Top achievements
Rank 1
 answered on 13 Apr 2016
8 answers
458 views

We are using the WebForms report viewer control on an .aspx page.  We are trying to modify our site to use a State Server session state model, so all of our session items need to be serializable.. we've successfully made our objects serializable, but we are running in to a Serialization error on the ReportViewer page, and can't get to the bottom of it, because the error is thrown by external code... 

Our report viewer page ends up throwing 

Exception:Caught: "Invalid name character in 'List`1'. The '`' character, hexadecimal value 0x60, cannot be included in a name." (System.ArgumentException)
A System.ArgumentException was caught: "Invalid name character in 'List`1'. The '`' character, hexadecimal value 0x60, cannot be included in a name."

Which leads to 

A System.Web.HttpException was caught: "Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode."

 

None of our code is placing anything in to Session for the Report ... the code works fine for "InProc" session, which leads us to surmise that the Report Viewer control is utilizing Session State somewhere.  How can we utilize the Report Viewer control in a Serializable manner?

 

Thanks

 

Jeff

 

Stef
Telerik team
 answered on 11 Apr 2016
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?