Telerik Forums
Reporting Forum
9 answers
444 views

Ok, I have a report that is set to TextAlign = Justify.

I have a text box in the report that is set to TextAlign = Left. The text in the text box wraps to a second line.

When I run the report, the text is Justified, not aligned left, as specified for the text box.

Is this a bug, or does the TextAlign at the report level over-ride the alignment set at the text box level?

I've included screenshots that demonstrate this.

Thanks!

 

 

 

Stef
Telerik team
 answered on 23 Mar 2017
2 answers
3.6K+ views

Hi Support,

We are tried to setup web application on new server

We have install the telerik reporting on new server but still we are getting the following error

"Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified."

For more error details please find the attached  snap

Please suggest/Guide

Thanks

Mahendra

 

Stef
Telerik team
 answered on 23 Mar 2017
5 answers
240 views

Hello,

I am using standalone report designer and I use this line of code to toggle culture based on parameter

 

Culture = IIf(Parameters.Language.Value = "en","en-US","fr-CA") in databinding

 

This works well for numbers currencies, and percentages on tabs, cross tabs etc but NOT charts.

Does charting library have a different initialization process? It seems that once chart is created, the culture remains static.

 

P.S. Culture of the Chart is (Default), setting value is not in bold font. 

 

Please advise

Thanks

Stef
Telerik team
 answered on 23 Mar 2017
7 answers
257 views

Hi,

I created report in telerik report designer R3 2016, where i added a table, the report is working fine but the exported file is giving missing edges.what should i do to resolve this?

I have attached an image of the same, please have a look.

Katia
Telerik team
 answered on 23 Mar 2017
2 answers
81 views
Please find the problematic file attached, The report is showing border edges correctly, but the exported file shows missing boundary edges. Please help to resolve it.
Katia
Telerik team
 answered on 23 Mar 2017
1 answer
184 views

My reports that I am using in an WPF application just to print directly to a printer have some issues after the upgrade. We also had an issues when we upgraded last year.

Here is where the report is called

      string orderIds = "153461,153567,153843,153845,153872,153942,153966,153985,154210,154252,154298,154363,154382,154411,154431,154437,154463,154471,154521,154538,154556,154560,154631,154650,154686,154687";  
var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

      var typeReportSource = new Telerik.Reporting.TypeReportSource();
      typeReportSource.TypeName = typeof(Accounting.Reports.RptPostedDeposits).AssemblyQualifiedName;
      typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumbers", orderIds));
      var px = new System.Drawing.Printing.PrinterSettings();
      reportProcessor.PrintReport(typeReportSource, px);

 

 

Then in my Needs_Datasource event of the report I have something like

      if (this.ReportParameters[0].Value.ToString() != "")
      {
        string sqlQuery = "Select O.OrderID, Case When D.PayorName = '' Then CAL.SubAccountName Else " +
          "SUBSTRING(CAL.SubAccountName, 0, 7) + '-' + D.PayorName End as Customer, D.EntryDate, D.PaymentNumber, D.PaymentTypeID, " +
          "D.TotalDeposit, D.AmountAppliedToInvoice, O.GrandTotal, D.PostedToCyma, ISNULL(O.PostedDate, ISNULL(O.ShipDate, GETDATE())) as PostedDate " +
        "From FCMDB.dbo.FcoOrders O " +
        "JOIN FCMDB.dbo.CustAccountLocations CAL ON CAL.AccountLocationsID = o.AccountLocationID " +
        "JOIN FCMDB.dbo.AcctDeposits D ON D.OrderID = O.OrderID " +
        "Where O.OrderID IN (" + ReportParameters[0].Value + ")";
        SqlConnection cn = new SqlConnection(MyConnection);
        cn.Open();
        SqlCommand cmdGet = new SqlCommand(sqlQuery, cn);
        DataTable dtGet = new DataTable();
        dtGet.Load(cmdGet.ExecuteReader());
        cmdGet.Dispose();
        cn.Dispose();

//This line we changed in 2016 because just setting the this.datasource would no longer reference the current report
        (sender as Telerik.Reporting.Processing.Report).DataSource = dtGet;
        //this.DataSource = dtGet;
      }

 

Now I need to access the parameter through the sender object. If I leave it the way it is currently the parameter is blank. Is this something that has been done intentionally? If so why isn't an email or something sent out about it or adding it into the whats new? 

Katia
Telerik team
 answered on 23 Mar 2017
1 answer
280 views
Hello

We use the Legacy ASP.NET Reportviewer (Q1 2015).

We are experiencing problems with low memory on the server due to large amount of reportviews/high user sessiontimeout.

Is it possible to set a ClientSessionTimeout for the legacy ASP.NET reportviewer? 
If not, is it possible to disable the reporting cache?

We do not wish to migrate to the HTML5 viewer just yet.

Regards
Mark
Katia
Telerik team
 answered on 23 Mar 2017
7 answers
501 views

Hi,

Having issues trying to remove time formatting from the x-axis 'category label format. Tried several formats but don't see a change on the outputted report - always showing my category dates as date WITH the time. STUPID! have already spent too much time on this & will take at least another day to get an answer, assuming no further info is required.

​

Shiwani
Top achievements
Rank 1
 answered on 23 Mar 2017
3 answers
344 views

Hi,

I created a report with table, in output the report is showing a line after table which is not expected, i tried to remove the line by setting the bottom edge of table "none" in detail sectionand and also by setting the 

top edge of page footer section= "None" , but by using both the way i am not getting my expected output on the report.

please refer the attached image.

Katia
Telerik team
 answered on 22 Mar 2017
3 answers
629 views
Hi everyone.

Can I export the report on the server programmatically?
I've read a KB below. It could export the report to pdf on client side.
http://www.telerik.com/support/kb/reporting/styling-and-formatting-reports/details/exporting-a-report-to-pdf-programmatically

My goal is sending an email with an attachment of pdf exported by a report programmatically.

Thanks in advance.
Stef
Telerik team
 answered on 22 Mar 2017
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?