Telerik Forums
Reporting Forum
1 answer
287 views

Hi,

I have a couple of questions on the invoice demo example and it would be great if somebody could answer. I have to do a sales order report which has a very similar structure with sales order items, sub report, etc.

The relevant video can be found here: http://demos.telerik.com/reporting/invoice-report/video.aspx

-In the video, some fields are added to the top section (barcode, order number, etc.) How are these fields populated - I understood that data could only be populated from the detail section. I'm doing something similar at the moment and I like the idea of putting stuff in the header but the fields in the header won't populate with any data - only the fields in the detail section.

-What is the purpose of the small panel he puts in the bottom of that header at the 36 second mark.

-Why the large panel in the detail section?

 If anybody could shed some light on these it would really help my understanding of what's going on.

Thanks,
Tom.

 

 

Nasko
Telerik team
 answered on 03 Jul 2015
3 answers
179 views
Hi all.
How can I retrieve PageNumber value in my report code?
Thanks.
Maltrak
Top achievements
Rank 1
 answered on 03 Jul 2015
2 answers
306 views
Hi Telerik,

Good day.

api/reports/clients connection timeout telerik report"


Sometimes we have this errors that the Telerik Reporting API wasn't able to connect successfully or didn't achieve that 200 OK status. (Or sometimes its status is pending and won't proceed)
Is there a way that we can somehow "alert" the error message using JavaScript to the user so that we will be able to easily determine the cause (without pressing F12 or inspect element) on an instance that the menu tabs on top of the report (the reporting viewer template) appeared while the report in the middle doesn't display.


Thanks in advance.
Efren
Top achievements
Rank 1
 answered on 02 Jul 2015
3 answers
181 views

I am having issues passing a parameter from my master report based on a stored procedure to my detail report based upon another stored procedure. I have narrowed down the problem to the following situation:

If the master report is based upon a stored procedure and I try to pass a parameter as a field from that procedure, I get a "object reference not set to an instance of an object" error in preview.

I have tested this with a variety of scenarios and this seems to be the only one causing the issue. I am setting the parameter for the subreport in the Designer as seen in the SetParameter.png attached.

It works if the master report is set to an SQL statement (not easily accommodated) or if I hard code the parameter to a value. It is only the above scenario that I cannot get to work.

Suggestions?

ROD>

Stef
Telerik team
 answered on 01 Jul 2015
9 answers
432 views
Hello,

         I am using telerik Reporting Q1 2014 Latest Version In this version I am not able to print the report .. In the Report firstly its downloaded as PDF and not to print directly . 
         Is there any solution to overcome this problem
Stef
Telerik team
 answered on 30 Jun 2015
1 answer
236 views

Hi, there is some way to put the number of pages in a textbox (like the =PageCount) outside the page Header or Footer, even programmatically using C#, I tried by generate a temporary file of the report, counting the page numbers send that value and generate the report again but that solution is not very practice.

Can Some one help me please.

Nasko
Telerik team
 answered on 30 Jun 2015
1 answer
121 views

I am trying to figure out how to bind the ObjectDataSource in Xaml.  I am using the MVVM pattern and do not want to use code behind.  I cannot seam to find any documentation or examples that show this.  Everything I have found shows this being done in code behind.  I think it really is just a matter of getting the proper syntax.  If anyone has done this could you show me how this is done.  

 

Thank You

Stef
Telerik team
 answered on 30 Jun 2015
4 answers
72 views

Sorry for my limited English first, I have a problem with formatting text of htmltextbox:

 Is there any way to display a content like:

-  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Instead of:

-  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

And is there anyway to remove padding of <ul> and <li>?

 

Stef
Telerik team
 answered on 30 Jun 2015
3 answers
184 views

Hello,

From my understanding I can pass a function into the ready option and it will run after the report viewer is initialized, so great - I though, because I would like for my reports to ignore the cache on a specific report.  So I figured I could do something to the effect of:

    $("#reportViewer1")
        .telerik_ReportViewer({
            serviceUrl: "/REST/api/reports/",
            templateUrl: '@Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-9.0.15.225.html")',
            reportSource: {
                report: "TravelRequestHeader.trdx",
                parameters: {
                    TravelRequestID: '@ViewBag.TravelRequestID'
                }
            },
            viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
            ready: function () {
                //doesn't work right...
                this.refreshReport(true);
            }
        });

 

However the report viewer keeps rendering the report from cache, but if I do this explicitly within my dev console:

$('#reportViewer1').data('telerik_ReportViewer').refreshReport(true);

Then it will refresh the report and ignore the cache as I intended.  I do not see another option to set when initializing the viewer to tell to ignore the cache, am I missing something here?

 

Thanks,

Mike

Stef
Telerik team
 answered on 30 Jun 2015
7 answers
700 views

I am evaluating the reporting functionality and I really need some help on binding a custom dll.  

This is what I have done so far.

1) Created a .net dll with the following code.  The dll is in the same folder as the trdx file

namespace ClassLibrary1
{
    [System.ComponentModel.DataObject()]
    public class Person
    {
        public string Name { get; set; }
    }
}

I added the data source to the trdx file as follows

<DataSources>
    <ObjectDataSource Name="ClassLibrary1" />
  </DataSources>

 

When I open the project in the Data Explorer I only ClassLibrary1.  I expected to see the object Person and under that the Name property.  I opened the Configure Object Data Source window but both tabs are blank.  

I have spent hours reading the forum and the pdf tutorial and just cannot figure this out. I must be missing some simple point on this. Any help would be appreciated.

Better yet does anyone has a simple example they would like to share? 

 

BTW: 

I also tried making a dll with a DataSet with some tables using the designer in visual studio but no luck with this either.

 

 

 

Stef
Telerik team
 answered on 30 Jun 2015
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?