Telerik Forums
Reporting Forum
3 answers
208 views

I have a report that works great on just about every computer in the building. However we have a small subset of users that when they print, it scales the print to only the top left of the page at half width and half height. 

It's printing the whole report but it doesn't cover the entire page. 

I've found the issue is only in Parallels Windows 10 VMs. These VMs are all bootcamp partitions Parallels is mounting to run as a VM. If the user reboots and boots directly off the partition, running Windows using Bootcamp, the report prints fine. I'm assuming this problem is an issue related to the graphics driver Parallels. 

I've confirmed this on multiple Macs. Sierra and High Sierra and a few different versions of Parallels, including the latest build.

The report launches as clickonce app built with VS2017 and I'm using C# to load and modify the report. 

Any suggestions? 

Katia
Telerik team
 answered on 10 Oct 2017
2 answers
544 views

I have a Controller action that receives a value through ajax, and I want to pass that value as parameter to a query I did in the report.
This is my controller action:

public ActionResult OrdenCompraReport(int value)

{

    /Here i want to pass the value into a parameter on Telerik reporting

    return View();

}

And this is my query in my sqlDataSource of Telerik Reporting:

select oc.OrdenCompraNumero, oc.FechaDeEmision, fp.Nombre, a.Nombre, a.Contacto, a.Direccion, a.CorreoElectronico, a.Ruc, a.Telefono

from OrdenCompras oc 
join FormasPago fp on oc.FormaPagoCodigo = fp.Codigo
join Aseguradoras a on oc.AseguradoraCodigo = a.Codigo
where oc.OrdenCompraNumero = @OrdenNro

@OrdenNro is the name of the parameter. Any ideas of how can i do this?

Squall
Top achievements
Rank 1
 answered on 10 Oct 2017
3 answers
341 views

Sections overlaps in Report if data is more similar to an earlier forum post.  It was fine in ver Q1 2015 SP1. In R3 2016  the sections overlap in the html viewer and in the pdf export. In  R3 2016 SPI the section overlaps only in the html viewer.  Could you let me know what can be done to fix this issue ?

 

 

Sunita
Top achievements
Rank 1
 answered on 09 Oct 2017
4 answers
494 views

I have a line graph in my telerik report. I Need to display markers only if they satisfy a condition.

Otherwise the points should just make the line, but markers  shouldn't be visible unless it satisfies the condition

 Can this feature be achieved ?

 

Katia
Telerik team
 answered on 09 Oct 2017
8 answers
526 views

I have made an ASP.NET CORE 1.0 web app.  Yes I know it's not final.  For the life of me I can not figure out how to get my Reports to display.

Is it possible?  Anyone succeeded and can share the steps and a bit of code?

Thanks

I guess I'll never change.  I am always drawn to trying the Bleeding Edge in development.  Yes.  It always bites me.

Katia
Telerik team
 answered on 09 Oct 2017
10 answers
535 views

Hello,

 Is there some option in the ReportProcessor to automatically ignore illegal XML characters, like ascii control characters?

 

Regards

Wojciech
Top achievements
Rank 1
 answered on 06 Oct 2017
1 answer
408 views

I have an "invoice" main report with a "company" subreport that I'm trying to bind to a data source and report viewer at runtime.

Here is the code I was attempting to use...

protected void Page_Load(object sender, EventArgs e)
    {        
        Report myReport = new myCompiledReports.invoice();
        ReportViewer1.ReportSource = myReport;

        DataTable dtInvoice = (DataTable)Session["dtInvoice"];     
        DataTable dtCompany = (DataTable)Session["dtCompany"];     

        myReport.DataSource = dtInvoice ;
       
        SubReport mySubReport = (SubReport)myReport.Items.Find("company", true)[0];
        mySubReport.Report.DataSource = dtCompany;
    }

During the SubReport mySubReport = (SubReport)myReport.Items.Find("company", true)[0];, I'm getting an index was outside the bounds of the array error.

If I comment out the subreport code, the report appears in the ReportViewer, minus the subreport information of course.

How do I bind a subreport to a different data table than the main report and have all the information appear in the ReportViewer control?

Thanks ahead for any and all help in this matter.

Katia
Telerik team
 answered on 05 Oct 2017
0 answers
140 views
Hi good day.
I want to consult the following doubt,
I have a query that I execute through an ObjectDataSource to load data to my report, the detail is that the query brings an approximate 100 thousand records and I mark a memory exception system since the ObjectDataSource is repeated more than 3 times and I believe that this makes the memory run out, any solution?
diego
Top achievements
Rank 1
 asked on 04 Oct 2017
1 answer
878 views

Hi,

One of my report parameter has a single column data source and empty value in the first row. Both AllowBlank and AllowNull are true on this parameter. But the empty value is not showing after run. Using firebug, i found that empty listviewitem exists there but not showing(Report1.png). When i wrote something in listviewitem by editing html element in firebug, it appears(Reprt2.png). I need to filter using empty value because the report data source contain empty values in some rows. Now only way i have to filter using empty value is, first, click the 'Select all' on the parameter and then deselect other values one by one so that empty value keep selected and Click 'Run Report'. But it is not the right approach to do. As AllowBlank is true, empty/blank should visible & should be selectable/deselectable? 

Please give a solution on this.

sabbir

Katia
Telerik team
 answered on 02 Oct 2017
1 answer
368 views

Hello. I'm trying to hide a Panel when the Report has different values, I used Visual Studio's break point, panel4.Visible turn "false", but nothing happens and I can't understand why!!

My code is this:

  private void detail_ItemDataBinding(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.DetailSection section = sender as Telerik.Reporting.Processing.DetailSection;
            
            if (section != null)
            { 

                if ((string)section.DataObject["Year"] == Core.Constants.Configuration.Year.ToString())
                {
                    panel4.Visible = false;
                }

            }

        }

 

What am I missing?

 

Thank you for help,

Angelo

 

Nasko
Telerik team
 answered on 02 Oct 2017
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?