Telerik Forums
Reporting Forum
4 answers
175 views

Enviroments:

Windows 7 ultimate russian x64

Visual studio 2010, 2012, 2015

MS SQL Server 2008, 2014

Telerik Reporting Q2 2012, Q3 2012, Q1 2015, Q1 2016

 

Problem: When run Q1 2016 report designer - get error. Please see attached file

Tested also on the Windows 10 pro (russian) x64, and Windows 7 pro x64  - the same error

Andy
Top achievements
Rank 1
 answered on 26 Jan 2016
2 answers
118 views

Hi, does Telerik suppport generating Multi-Axis Line Charts report?

 

Just like attached sample

Katia
Telerik team
 answered on 25 Jan 2016
6 answers
116 views

Hello,

I have a WPF application that runs correctly... until I updated to Telerik Reporting Q1 2016.

Now, evey time I try to preview a report, I have an InvalidOperationException, with the following message:
Layout measurement override of element 'Telerik.Windows.Controls.Primitives.LayoutTransformControl' should not return NaN values as its DesiredSize.

Stef
Telerik team
 answered on 22 Jan 2016
1 answer
490 views
Hi, currently have a problem with table spacing and page breaks. I have a subreport which contains 1 table in it. I'm trying to give the table about half an inch of spacing from top on each page it breaks. Setting the padding-top property to half an inch works, but then the bottom row on each page is cut off. Is there some way to get this to work?
Katia
Telerik team
 answered on 22 Jan 2016
8 answers
3.7K+ views
I'm using telerik HTML5 report viewer with ASP.NET MVC 4 to generate telerik reports. Below are main sections of the view

@model Doc.Web.Models.Vendor.VendorCoverSheetFormModel

@using (Html.BeginForm())
{  
    <input type="submit" value="Save" id="btnSave" />
  
    var typeReportSource = new TypeReportSource() { TypeName = "Doc.Web.Reports.SquadCheck.SquadCheck, Doc.Web" };
    typeReportSource.Parameters.Add("project", "TEST");
   
    @(Html.TelerikReporting().ReportViewer()
        .Id("reportViewer1")
        .ServiceUrl("/api/reports/")
        .TemplateUrl("/Content/ReportViewer/templates/telerikReportViewerTemplate.html")
        .ReportSource(typeReportSource)
        .ViewMode(ViewModes.INTERACTIVE)
        .ScaleMode(ScaleModes.FIT_PAGE_WIDTH)
        .Scale(1.0)
        .PersistSession(false)

)

report is displaying fine and I want to save this report as a .pdf file to hard drive location, in HTTP post Action

        [HttpPost]
        public ActionResult Report(VendorCoverSheetFormModel model)
        {
          // here I need to include the code for .pdf saving
            return View();
        }

I have referred to following articles but I guess they are for asp.net web pages. How to modify this code to suit HTML5 report viewer?

http://www.telerik.com/support/kb/reporting/designing-reports/saving-a-report-into-pdf-format-programmatically.aspx

http://www.telerik.com/help/reporting/programmatic-exporting-report.html

Stef
Telerik team
 answered on 22 Jan 2016
11 answers
829 views
Hi there!

I'm using Telerik Reporting Q1 2009 in a CAB WinForms application (along with RadControls for WinForms) under Windows Vista. I need to provide a globalized version of some reports where the user can chose the language of a report from the application's UI.

As proposed in the documentation I designed the report in the default language (here: German). After this I set the Localizable property of the report to True in the report designer, changed the Language property of the report to the desired language (here: English (US)) and localized all strings used in the report form. After saving, I got two resource files as expected, one for the default language (MyReport.resx), one for the localized version (MyReport.en-US.resx), both containing the correctly localized string resources. Compiling the project also results to a proper satellite assembly for the localized culture, residing in a subfolder named by the culture:

.\MyReport.dll
.\en-US\MyReport.resources.dll


These file/folder structure is also copied to the application's bin folder, along with all other depedent assemblies etc.

As far as I see this is all correct behavior until here.

In the application I use the following code to set the report's Culture property to the desired one, lets say English US):

Report report = new MyReport(); 
report.Culture = new CultureInfo("en-US"); 
report.DataSource = someDataSet; 

The report will get rendered in another place, once as PDF and once by the WinForms ReportViewer:

string mimeType = ""
string extension = ""
Encoding encoding = null
 
Hashtable deviceSettings = new Hashtable(); 
deviceSettings["FontEmbedding"] = "Subset"
deviceSettings["DocumentTitle"] = report.DocumentName; 
deviceSettings["DocumentAuthor"] = "My Company"
 
byte[] buffer =  
    Telerik.Reporting.Processing.ReportProcessor.Render("PDF", report, deviceSettings, out mimeType, out extension, out encoding); 
 
// ... save the PDF using FileStream ... 
 

// WinForms initialization code 
private Telerik.ReportViewer.WinForms.ReportViewer mainReportViewer; 
 
// .... 
 
public void ShowReport(Report report) 
    mainReportViewer.Report = report; 
    mainReportViewer.RefreshReport(); 
 
 

As you see this code is also no rocket sience.

My Problem is that the report always keeps it's default language and will never show in English (US) as desired, regardless of the above mentioned conditions (report localized, got satellite assemblies in the right place [assumedly], report's Culture property explicitly set). I also set the current thread's CurrentUICulture property to english, as well as the whole operating system's default language - but the report still stays "unlocalized". So the problem seems to be that for some reason the satellite assembly won't get used for localization.

Does anyone has a helpful hint what the problem could be here?

Regards,
ReneMT






Stef
Telerik team
 answered on 22 Jan 2016
11 answers
196 views
Hello,

  I have a massive problem on localizing my Reports with the actual Version (Q3 2010 SP1 / 2010.3.1221). I have some reports in german and english. In my report preview window I have a dropdown to switch the report language. This works fine in VS 2010. But when I deploy my application to a Win2003 Server, the problems start. No matter, what language I set in my dropdown, the report is always in german (which is the default language). For switching between the languages I use:
Thread.CurrentThread.CurrentUICulture
and
Thread.CurrentThread.CurrentCulture

The same application deployed to Windows Azure with Telerik Reports Version Q2 2010 (2010.2.921) works perfect. Have I to change something in my application to let it work again or is there a bug in the actual report release?

In hope of help
 Thomas
Stef
Telerik team
 answered on 21 Jan 2016
1 answer
259 views

Hello!

I seem to be having an issue where a vertical line gets added to my bar chart in the report viewer. As seen in the screenshots below, the preview of the chart in the report designer does not include the lines. However, when I generate the report in the chrome report viewer it adds lines that extend from the top of the bar to the number. This issue does not exist in our windows viewer, the only difference between the two reports are these lines.

But if I set the chrome version of the report to 3.6 it does not fix the issue.

Is there a workaround to this issue or am I accidentally checking a box somewhere in the designer?

 

Thanks,

Alex

 

Katia
Telerik team
 answered on 21 Jan 2016
3 answers
118 views
We are getting "Session has expired. Please, refresh the page." issue in the telerik report viewer while opening in IE8 browser. This issue only occurs in IE8 and SSO mode over SSL. The issue doesn't occurs in other version of IE browser like 10, 11 and in Chrome and Mozilla browsers. The application is hosted on IIS server. The report viewer is placed inside in a user control which is again placed in a user control and that is in a master page. The report viewer is getting bind on click of link button. Could you please suggest why are we getting "Session expired error". We also tried to analyse the issue in Fiddler but get the "SessionHasExpiredMessage" as below in Textview:

<html><head><title>Error</title></head><body style='overflow:hidden;'><script type='text/javascript'>window.ErrorMessage = "<div style=\"text-align:left;padding-left:10px;padding-right:10px;\"><br />   <span style=\"font-family:&#39;Verdana&#39;;font-size:18pt;color:Red;text-align:left;\">##SessionHasExpiredError##<hr size=1 style='width:100%; color:silver' /></span><br/><span style='color: maroon; font-size: 14pt; text-align:left; font-family:\"Verdana\"; font-style:italic'>##SessionHasExpiredMessage##</span><br /></div>";</script></body></html>
Stef
Telerik team
 answered on 20 Jan 2016
2 answers
66 views

After updating to v9.2.15.1126 for Reporting now the Export button does not work.  No Export types are listed when the Export button is selected.  There is no way to Export a report.

 Printing works fine.

 Best Regards,

 Mark Kilroy

Mark
Top achievements
Rank 1
 answered on 19 Jan 2016
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?