Telerik Forums
Reporting Forum
1 answer
364 views
Can there be an option to set the default page number for the HTML5 Report Viewer? (Related to my cover page question) I can get around having the cover page always been part of the report if in the Report Viewer, it shows page 2 by default (instead of Page 1).

For now, I've changed the telerikReportViewer javascript file, but it would be good if this is possible through the API or an option etc

Current Code (Line 1298 of telerikReportviewer-8.1.14.804.js):

if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 1;

Changed to:

if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 2;

Since all reports i'm viewing have a cover page, I can make this change...otherwise include the original JS, or set it to a variable/function/resolver etc.

I've tried using the command goToPage (http://www.telerik.com/help/reporting/html5-report-viewer-reportviewer-properties-commands.html) but it wasn't working, probably because the page wasn't ready loaded yet?

Any help, much appreciated!
Stef
Telerik team
 answered on 17 Nov 2014
3 answers
316 views
I add a reportbook that contains two reports to the report viewer.

when I view them the document map expands the root node by default. is there away to have the default state be collapsed for the root node?
Stef
Telerik team
 answered on 17 Nov 2014
1 answer
148 views
Hi 

I came across this KB article.
http://www.telerik.com/support/kb/reporting/details/font-is-missing-in-report-designers

Is there any update? Can we use OTF fonts or still we need to convert them into True type and use them.

Thanks in advance
Stef
Telerik team
 answered on 17 Nov 2014
2 answers
295 views
Hi,

Just downloaded you report designer and it looks promising. I have done a couple of reports where i connect to SQL data sources and that is all fine.

Thing is, that i want to consume our .NET web service, as it has all the data i need when designing my reports. Do you have any good examples of doing that ?
Stef
Telerik team
 answered on 17 Nov 2014
1 answer
235 views
I have SSRS RDL files with me. And I want to export those reports in PPT using PowerPoint Rendering Extension.
Please guide me for this.
Stef
Telerik team
 answered on 17 Nov 2014
1 answer
153 views
Hello
One of my requirement is add custom header to each request, however, even if I set:
$.ajax({
            type: "POST",
            beforeSend: function (request) {
                request.setRequestHeader("Some-Code", myCode);
            }
        });

It is not send during accessing report web api.

Kind Regards
Marcin


Marcin
Top achievements
Rank 1
Veteran
 answered on 17 Nov 2014
3 answers
95 views
Will we finally be able to "preview" coded "NeedsDataSource" reports inside of visual studio with the new Roslyn compiler\VS2014?  Seems like it was made for things such as this...
Stef
Telerik team
 answered on 14 Nov 2014
1 answer
672 views
My application needs to support both A4 (210mm * 297mm)  and Letter (215.9mm * 279.4mm).

One way to deal with this issue is to draw in an area of 210 * 279.4, so that it fits in both A4 and Letter.

Using Telerik I set my report to this size and designed the report. When I tried to print it my printer did not print complaining that the size was not correct. I needed to set the report size to A4 for the printer to print.

Is this a potential problem? If yes, how can it be resolved?

Also, can you suggest any other way to be able to design in both A4 and Letter (short of designing two separate reports)

Thanks,
John


Hinata
Top achievements
Rank 1
 answered on 13 Nov 2014
1 answer
191 views
Hi,

I have a web app and a class library. My wep app include my class library.
On the page load of my default.aspx web form, i set the datasource of my report.

Here is the code ( this.FolhaCargaCollection contains a List with 72 items):

protected void Page_Load(object sender, EventArgs e)
{
    ClassLibrary1.Report.FolhaCarga report = new ClassLibrary1.Report.FolhaCarga();
    report.DataSource = this.FolhaCargaCollection;
 
    Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
    reportSource.ReportDocument = report;
 
    this.ReportViewer1.ReportSource = reportSource;
    ReportViewer1.RefreshReport();
}

Then i have done this:
Create new a report inside my class library (ClassLibrary1)
Add a ObjectDataSource, then select the collection and select "No data source member". Then finish.
On my report, i have set DataSource property to my new ObjectDataSource.

Then i hit F5 key and all work. I got all my 72 items listed.

Then i have done this:
Create new a report inside my class library (ClassLibrary1)
Add a ObjectDataSource, then select the collection and select "No data source member". Then finish.
On my report, i add a new table.
In Table wizard, i select the ObjectDataSource, then selected all properties to the table. Then finish.

I changed my page load to load the right report, then hit F5 key. What happens next is that i saw the headers of my table repeated 72 times, without data.

Is there any way that this can work, using the variable "this.FolhaCargaCollection" as the source of my report?

Thanks in advance.
Nasko
Telerik team
 answered on 13 Nov 2014
2 answers
273 views
Hi.
I am working in a solution that cosume .tdrx reports which are hosted in a FTP server, but when I pass the Uri to the ReportSource of the ReportViewer, I get this error: "Invalid URI: Invalid port specified."

I have tried adding the port number in the Uri String, but still getting the same error.
I also tried adding a parameter to the UriReportSource, but still getting the same.

Which is the right way to do this?
KS
Top achievements
Rank 1
 answered on 12 Nov 2014
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?