Telerik Forums
Reporting Forum
1 answer
237 views

Hello

Any take on this problem would be appreciated.

 

I need to remove a page when a  condition is met.

I check the condition in detail_ItemDatabound as:

 

  private void detail_ItemDataBound(object sender, EventArgs e)
{

if (true)

{  Telerik.Reporting.Processing.DetailSection section = (sender as Telerik.Reporting.Processing.DetailSection);
          
  section.Visible = false;​  //this naturally only blanks the detailsection, i need to completely remove current page

}

}

 

Any hint??

 

regards

Mark

Nasko
Telerik team
 answered on 24 Sep 2015
15 answers
984 views
Hi, 
We have migrated from Asp.Net Web Report viewer to HTML5 Report viewer recently and facing trouble with  “HTML5 Report Viewer” on Production Load balanced servers. (On Single hosted server everything works smoothly) 

1. We have Asp.Net Web application (Not MVC App) with 3 tier arch. WCF Services are getting used to serve reporting data.
2. Ours is Session less app, so in Web.Config we have set <sessionState mode="Off">
3. As a part of migrating to HTML5 Report viewer, we only replaced Asp Web Report Viewer with HTML5 report viewer,
     keeping Web Project, Telerik reporting cs files as it is. ( so technically only HTML5 Report viewer is being used with Asp.Net Web app). 

This setup works well in DEV/QA (Single Server env). However when we deployed to UAT/PROD (Load Balanced env with 2 servers) the report viewer throws 
below error randomly but quite frequently. 

Error creating report document (Report = Hotel.H_Reservation_Report, Enterprise.Reports; Format = HTML5Interactive): Client with ID '201112-bb07' not found. Expired.

It looks to me some caching related error as it says "Expired". Any idea how to get rid of this in particular to multiple server installation?
Appreciate any quick help on this.

Thanks,

Chetan

Stef
Telerik team
 answered on 24 Sep 2015
1 answer
132 views

Hi,

I have a Column graph for which I am generating data dynamically based on the hierarchyId.  When the user clicks on a bar series, I should be able to pass the hierarchyId (the id that was clicked) and build the graph for the next hierarchy level.  ​I want to set the Navigate to Report Action to the same report passing the hierarchy Id(=Fields.HierarchyId) as a report parameter.  When I set this action to a static graph I am able to access the fields.  However, I am not able to access Fields information if I build the graph dynamically.  Any help on this issue is greatly appreciated.  TIA!

Stef
Telerik team
 answered on 24 Sep 2015
1 answer
488 views

Hi,

 

I have requirement to narrow down letter spacing between letter (textbox) in telerik. Is there any way to deal with that ?

Stef
Telerik team
 answered on 24 Sep 2015
2 answers
166 views

Hi

I am using Telerik Reporting  7.2.14.127  in a WPF application.

I am also using Sqlite database with SQLDataSource class.

I have a few graphs in my report, when one of the datasource is empty all the report crush instead of showing an empty graph(the Series is empty, Daaaa).

I get an error:

 An error has occurred while rendering the report: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Telerik.Reporting.Processing.Graphing.Series.LineSeriesImpl.<RenderShapes>d__c.MoveNext()
   at Telerik.Reporting.Processing.Graphing.Series.LineSeriesImpl.Render()
   at Telerik.Reporting.Processing.Graphing.Series.Cartesian.LineSeries.Arrange(IMeasureContext context, RectangleF plotArea)
   at Telerik.Reporting.Processing.Graphing.GraphAreaArrangers.CartesianGraphAreaArranger.ArrangeSeries(IMeasureContext context, RectangleF plotAreaRect)
   at Telerik.Reporting.Processing.Graphing.GraphAreaArrangers.CartesianGraphAreaArranger.Arrange(IMeasureContext context, RectangleF plotAreaRect)
   at Telerik.Reporting.Processing.Graphing.GraphArea.ArrangeContent(IMeasureContext context, RectangleRF clientBounds)
   at Telerik.Reporting.Processing.LayoutElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.VisualElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.LayoutElement.Arrange(IMeasureContext context, RectangleRF finalRect)
   at Telerik.Reporting.Processing.Graph.ArrangeDataItemContent(IMeasureContext context, SizeRF finalClientSize)
   at Telerik.Reporting.Processing.DataItem.ArrangeContent(IMeasureContext context, RectangleRF finalClientBounds)
   at Telerik.Reporting.Processing.LayoutElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.VisualElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.ProcessingElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.LayoutElement.Arrange(IMeasureContext context, RectangleRF finalRect)
   at Telerik.Reporting.Processing.AbsolutePositionLayout.ArrangeContent(IMeasureContext context, SizeRF finalClientSize)
   at Telerik.Reporting.Processing.ReportSectionBase.ArrangeContent(IMeasureContext context, RectangleRF finalClientBounds)
   at Telerik.Reporting.Processing.LayoutElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.VisualElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.ProcessingElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.LayoutElement.Arrange(IMeasureContext context, RectangleRF finalRect)
   at Telerik.Reporting.Processing.StackLayout.ArrangeContent(IMeasureContext context, SizeRF finalClientSize)
   at Telerik.Reporting.Processing.Group.ArrangeContent(IMeasureContext context, RectangleRF finalClientBounds)
   at Telerik.Reporting.Processing.LayoutElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.VisualElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.ProcessingElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.LayoutElement.Arrange(IMeasureContext context, RectangleRF finalRect)
   at Telerik.Reporting.Processing.StackLayout.ArrangeContent(IMeasureContext context, SizeRF finalClientSize)
   at Telerik.Reporting.Processing.Report.ArrangeContent(IMeasureContext context, RectangleRF finalClientBounds)
   at Telerik.Reporting.Processing.LayoutElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.VisualElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.ProcessingElement.ArrangeCore(IMeasureContext context, RectangleRF bounds)
   at Telerik.Reporting.Processing.LayoutElement.Arrange(IMeasureContext context, RectangleRF finalRect)
   at Telerik.Reporting.Processing.LayoutElement.MeasureElement(LayoutElement elementToMeasure, IMeasureContext context)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReportCore(Report report, IMeasureContext measureContext)
   at Telerik.Reporting.XamlRendering.WpfReportInteractive.MeasureReportCore(Report report, IMeasureContext measureContext)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReport(Report report)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in Telerik.Reporting.dll

 

Thanks in advance

Ron

Ron
Top achievements
Rank 1
 answered on 24 Sep 2015
1 answer
318 views

I created a simple CROSSTAB report via the Crosstab wizard.  I am making sure that both RowHeadersPrintOnEveryPage and ColumnHeadersPrintOnEveryPage are set to TRUE, yet, it seems that when I print this report, only the COLUMN HEADERS are printing on every page, where as the Row Headers are not.  As you can see in the example I have attached, the COLUMN HEADERS are re-printing on every page, but the ROW HEADERS are not ( TOWN & WARD column headers are missing on page 2)

 

I have made no other changes to the report layout or the data.  Is this by design/bug/what? 

 

TIA

Stef
Telerik team
 answered on 24 Sep 2015
1 answer
148 views

  Hi,

 Please can you add the ability to reorder columns in the report designer by drag/drop of the column headers?

 Thanks,

Stef
Telerik team
 answered on 22 Sep 2015
3 answers
158 views
I am trying to deploy an MVC, WebAPI, Intranet site over a server here in office.  This works when I deploy via my local machine, but not when I deploy to this server.  I have made sure my web.config runtime has <loadFromRemoteSources enabled="true"/>.  I'm not sure what is causing this.  Please advise:

Could not load file or assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.
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.FileNotFoundException: Could not load file or assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

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.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' could not be loaded.

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:

[FileNotFoundException: Could not load file or assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.] DRMSWebSuite.MvcApplication.Application_Start() +0 [HttpException (0x80004005): Could not load file or assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12584905 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475 [HttpException (0x80004005): Could not load file or assembly 'Telerik.Reporting.Services.WebApi, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12601936 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12441597

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009 
Stef
Telerik team
 answered on 21 Sep 2015
0 answers
40 views
I need design this report.But I don't  know how to do this !
jimmy
Top achievements
Rank 1
 asked on 19 Sep 2015
2 answers
105 views

Hello Telerik Team,

I can't make Reporting work in VS 2015 Community. In the designer mode when I choose View->Data Explorer or others nothing happens.

In VS 2013 Community everything is ok. Could you confirm that in VS 2015 the designer is fully supported?

 Thank you

 

Nasko
Telerik team
 answered on 18 Sep 2015
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?