Telerik Forums
Reporting Forum
5 answers
478 views

Hi,

I have a standard report with: PageHeaderSection,  GroupHeaderSection -  DetailSection etc. My problem is the paper on which the report is being printed on, it may have a pre- printed Logo on the top. What I need is to dynamically set the page margin or better the PageHeaderSection height. But it seems this is not possible. Could you please give me a solution to this problem.

Thank you and Kind regards
Wayne

Stef
Telerik team
 answered on 11 Oct 2013
2 answers
262 views

Hi, I am loading main report and sub report data source programmatically and the both the reports load data correctly
Now I want to filter sub report data based on the main report.

For Example list orders by product. So I am setting Product ID parameter value to the product ID from the main report. Problem is that this is not getting passed or available during sub report generation. I verified this by display parameter value on the support and it is blank.

Thanks in advance for your help.

Srinu T

Sheeraz
Top achievements
Rank 1
 answered on 10 Oct 2013
2 answers
265 views
Hi,

What I require is to be able to pass parameters to a report that don't exist as part of the actual report viewer control.  In other words, I need to be able to ask the user for information in a form and then post that information to the report viewer further down the page.

I've managed to get this working by using the following javascript in the click event of my form button:

$('#btnUpdateReport').click(function () {
        // add the parameters to the controller parameters
        var pId = $('#txtPortfolioId').val();
        var viewer = $reportViewer.data('telerik_ReportViewer');
        viewer.reportSource($.extend({}, viewer.reportSource(), { parameters: { 'portfolioId': pId } }));
});

I can see that the POST actions in Firebug are as follows when the number "1" is entered into the text box outside the viewer:
/api/reports/clients/142151-0f94/ReportingPrototype.Reports.InvestmentStrategy, ReportingPrototype/parameters?{"portfolioId":"1"}=
/api/reports/clients/142151-0f94/instances?{"report":"ReportingPrototype.Reports.InvestmentStrategy, ReportingPrototype","parameterValues":{"portfolioId":1}}=

The problem is, the query that's generated against the database to return results passes in a 'NULL' value to set against the parameter "@portfolioId".

What am I doing wrong?

Cheers.


G-Man
Top achievements
Rank 1
 answered on 09 Oct 2013
1 answer
182 views
just wondering if the initial release of the HTML Viewer will support RTL
Stef
Telerik team
 answered on 09 Oct 2013
3 answers
646 views
I have successfully followed Telerik's instructions on localizing reports so that my reports are now available in French and English (within an ASP.NET application). However, this results in the resx files being built into the assembly. We have a requirement which is that the RESX FILES MUST BE EDITABLE WITHOUT REBUILDING the application. Is there a way that I can make this possible with my Telerik reports?

To give some background, I have a 'Reports' project containing just the Telerik reports, which builds a DLL that is referenced by a separate ASP.NET web application.

I would appreciate urgent help on this matter as I have a release to make in 2 days' time! Thank you.
KS
Top achievements
Rank 1
 answered on 09 Oct 2013
41 answers
869 views
Hi

Currently one can export a telerik report using the 'Save' (Export) button to export the report to a number of formats.

i have a requirement to restrict the export formats listed to one, .pdf!
How can I restrict the formats in this dropdown menu to only show Acrobat (PDF) file as an option?

Bye
Stef
Telerik team
 answered on 08 Oct 2013
1 answer
112 views
Hi Guys

I have a detail report, using a subreport to display the details when a user selects the expand icon.

Every row shows the expand icon even if there is no detail to be displayed.

It's far from ideal because the user hits expand,, the report reruns and then finally shows nothing.

Any one found a way to hide the expand button for rows that have no information in the subreport?

Many thanks

Rob
Stef
Telerik team
 answered on 08 Oct 2013
1 answer
72 views
Hello folks.

I want to add some itens outside report's margin, like a picture or something like that.

How can I do this?

Best regards.

Stef
Telerik team
 answered on 08 Oct 2013
1 answer
114 views

Hi,

We are using the standalone designer to ideally build reports and drop them into place where we have a screen
that links to what reports are available.  The idea being to allow reports to be created without having to recompile
the asp.net.  We retrieve data from Sql server 2008 R2 using Telerik DataSource.

We have run into a problem in trying to convert datetimeoffset into a time zone name to display in the reports.
In the web pages we use the .Net class timezoneinfo. Is there a way to call the .net managed code and manipulate the data
retrieved from the data-source in Report designer.

Peter
Telerik team
 answered on 08 Oct 2013
1 answer
510 views
Hi

I have one report with multiple Stored Procedure(return datatable) to bind
below is the code i have in aspx.cs page

Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
            objectDataSource.DataSource =  //How to bind all datatable from aspx.cs page to my Reporttab class

            // Creating a new report
            ReportTab report = new ReportTab ();

            // Assigning the ObjectDataSource component to the DataSource property of the report.
            report.DataSource = objectDataSource;
            
            // Use the InstanceReportSource to pass the report to the viewer for displaying
            Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
            reportSource.ReportDocument = report;

            // Assigning the report to the report viewer.
            ReportViewer1.ReportSource = reportSource;

If there is any online sample it will be great for people like me
Please Guide me

Karthik.K
Elian
Telerik team
 answered on 08 Oct 2013
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?