Telerik Forums
Reporting Forum
1 answer
129 views

Picturebox make a new blank page when viewmode = "PrintPreview" on the report.

I'm using telerik.reporting 2016 R3

When remove picturebox, it's correct.

why?

Stef
Telerik team
 answered on 28 Dec 2016
1 answer
247 views

Hello,

         I am using secondary Y axis which is placed AtMaximum and i am displaying labels from 0 to 100 with 10 major steps. I need to right align these numbers. For example,

           100     -    100

           90       -      90

           80       -      80

           0         -        0

but it is not working with the style. i tried to assign LabelFormat to '{0,5:N0}'. but it is also not worked. Is any other way to achieve this?

 

Ivan Hristov
Telerik team
 answered on 28 Dec 2016
3 answers
373 views

Hello,

I have a report with the following structure:

PageHeader --> with logo and company data only on the first page.

GroupHeaderSection1 --> With data of the person is displayed on all pages if the user indicates it, this is the binding property

GroupHeaderSection2 --> Description of the fields for the page break.

GroupHeaderSection3--> Not visible only to group and have the sum of the group in the GroupFooterSection

GroupHeaderSection4 --> Table with the column literals you get from another DataSource independent of the report, Visible on all pages.

Detail --> General data of the reports

GroupFooterSection 1 --> not visible

GroupFooterSection 2 --> not visible

GroupFooterSection 3 --> Summation of a detail field

GroupFooterSection 4 --> not visible

ReportFooterSection --> con totales del informe y 3 tablas informativas

PageFooterSection --> PageNumber

 

Problem:
I need to get the summation of the previous page and the sum of the same page and that this data appears between the GroupHeaderSection4 and the detail and at the end of the detail between  the GroupFooterSection 3 and  ReportFooterSection.

 

Test done and failed

1) I found this function that does it but it paints it in the PageHeader, not where I need it

https://translate.googleusercontent.com/translate_c?depth=1&hl=es&prev=search&rurl=translate.google.es&sl=en&u=http://www.telerik.com/forums/carryover-page-sum-on-top-of-next-page&usg=ALkJrhi6igkyBztdcmZgrlchAOhYR032wg#PnmtDie720udwCPEjMPADA

2) With the function of 1 put the data in header but not visible and another textbox in a group with the value of the textbox

2) With the function of 1 Update a report parameter with the value of the PageNumber.

3) Create a group grouping by pageNumber

4) Put all groups in the PageHeader and display binding, but I reserve space although the fields are not visible. And the page break does not paint me where I want

5) Try to access from the viewer to the data to save me for each line of the report your page number and return it to launch

How can I develop what I need by maintaining the structure of the report?

Thank you

 

Stef
Telerik team
 answered on 27 Dec 2016
1 answer
83 views

Hello,

         For a Line Series, we have Diamond Symbol (From the MarkerType Property ) in the Graph, instead of that i need to use my own image or font icon, how can i use that? Please Help.

 

Thanks & Regards,

     Dinakaran

Stef
Telerik team
 answered on 27 Dec 2016
9 answers
1.3K+ views

Hello

I am using Graph component to display a bar series chart. Y-axis is using numerical scale to display the labels. I am struggling to find a way to display those numbers in thousands and millions.

 

Ex:   100 -  100

         1000 - 1K

         10000 - 10K

    100000 - 100K

     1000000 - 1M

 

Is there a way to do this?

Please let me know.

 Thanks

Mahesh

Stef
Telerik team
 answered on 27 Dec 2016
1 answer
235 views
Hi,
How do I merge at run time , the columns of a row ?
See image attached table.

Greetings,
Victor
Stef
Telerik team
 answered on 27 Dec 2016
1 answer
115 views

I'm having an issue with my table not covering multiple pages in the exported PDF.

The table is in a Detail Section, within a panel. The panel with the table is the only item in the Detail Section.

The table, panel, and Detail Section are all set to KeepTogether False.

I import this .trdp file into a .cs file in my solution, build the object, and export it to a pdf.

When the table is too big for the page, it still creates a new page on the pdf.

 

Thoughts?

Stef
Telerik team
 answered on 27 Dec 2016
4 answers
875 views

HI

I am implementing the report using Telerik Reporting R3 2016

But I met a serious problem while running Report Viewer : 

Error registering the viewer with the service.
An error has occurred.
object reference not set to an instance of an object。

introduce steps:

Existing ReportLibrary - Report1 (DataSource - DataTable) : 

  Telerik Report Library R3 2016

  Report1.cs

    private void Report1_NeedDataSource(object sender, EventArgs e)
    {

      var objectDataSource = new Telerik.Reporting.ObjectDataSource();
      objectDataSource.DataSource = DataTable1;
   
      this.DataSource = objectDataSource; 

    }
 
  *How to: Bind to a DataTable
  http://docs.telerik.com/reporting/object-data-source-how-to-bind-to-data-table

Visual Studio 2015 Enterprise

1.Add > New Project > (.NET Framework 4.6.1) Telerik C# ASP.NET MVC Application

  Standard 2016.2.504.545(Dev)

2.Add Existing Report Libary and add project reference

3.Manage NuGet Packages

  Install Microsoft.Net.Http

  Install Microsoft.AspNet.WebApi

4.Add > New Item > Telerik MVC Report Viewer View R3 2016
 
  Configure reporting engine

    Rest service

    Create new REST service

    Existing report definition
      Type report definition create in Visual Studio
 
  After template the 'Telerik Reporting REST WebAPI Service' successfully configured.

    Controllers\ReportsController.cs

    ReportViewer\js\telerikReportViewer-10.2.16.1025.min.js

 

    and more...

5.Move \ReportViewerView1.cshtml into Home\ReportViewerView1.cshtml


6.Add \Home\ReportViewerView1 Action : 

    public class HomeController : Controller
    {

        public ActionResult ReportViewerView1()
        {
            ViewBag.Message = "ReportViewerView1.";

            return View();
        }

7.Run http://localhost:21797/home/ReportViewerView1 shown :

  Error registering the viewer with the service.
  An error has occurred.
  Object reference not set to an instance of an object.

  (see picture)  

*Works http://localhost:21797/api/reports/formats

[{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLS","localizedName":"Excel 97-2003"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"MHTML","localizedName":"Web Archive"},{"name":"XPS","localizedName":"XPS Document"}]

 
*NOT Works http://localhost:21797/api/reports/client
 

Another problem is, In Visual Studio, the report design/preview are works 
but I need press the 'Refresh' toolbar button to enforce the report show the data 
(the data not displayed automatically while enter preview tab)

Is there have a complete/workable sample project - ASP.NET MVC5 + Report(DataTable)/Report Viewer/Exports.
 
Best regards

Chris

 


Stef
Telerik team
 answered on 26 Dec 2016
1 answer
889 views
how can i apply if statement in side html text box to format a word from the value in a different color based on certain condition
Stef
Telerik team
 answered on 26 Dec 2016
5 answers
959 views
I have a expression in telerik reporting 2010 : ReportItem.Parent.Parent.DataObject.MyFields that I asign it as the datasource of a table in detail section of a subreport. It works fine in 2010 q2 . But in 2016 r3 I canot see any thing for the subreport. I know the problem is in the above expression . What is the equivalent of this expression in telerik reporting of 2016 r3 ? (In some parts I have until 5 .Parent)
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
 answered on 26 Dec 2016
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?