Telerik Forums
Reporting Forum
4 answers
222 views

I am trying to locate a setting that will allow me to prevent the end user from changing the report layout (i.e. from Landscape to Portrait.)

The software we have sets the page to Landscape prior to sending the report to the report viewer. I now need to prevent the end user from switching the layout to Portrait vis the Page Settings dialog that is available though the Report Viewer.

 

Any Ideas?

Tom
Top achievements
Rank 1
 answered on 13 Apr 2016
1 answer
332 views

Hi,

I am evaluating Telerik Reports for our project requirements. I would like to know whether it is possible to set the Culture value of the report (en-US, es-MX, etc.) from a DataSource property. The culture information is returned as part of the data source and we are trying to build the report based on the value returned from the DB during run-time. I tried to set the Culture value in the 2 ways shown below, but both didn't work.

1) this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "= SampleReport.getCulture(ReportItem.DataObject.RawData)"));

2) this.Culture = new System.Globalization.CultureInfo("= {Fields.[CultureInfo]}");

Katia
Telerik team
 answered on 13 Apr 2016
4 answers
97 views

Hello Support Team,

we need in our reports a table of contents with page number of each chapter.

DocumentMap functionality is a very good approach. However, because we lack the access to the relevant page number of DocumentMap element.

One could perhaps provide a copy of IList <DocumentMapNodeModel> documentMapNodes in Class ReportViewer (WPF).

After rendering the report I could see the page numbers for the creation of the TOC.

Or is there perhaps a solution to our problem?

Michael
Top achievements
Rank 1
 answered on 13 Apr 2016
8 answers
449 views

We are using the WebForms report viewer control on an .aspx page.  We are trying to modify our site to use a State Server session state model, so all of our session items need to be serializable.. we've successfully made our objects serializable, but we are running in to a Serialization error on the ReportViewer page, and can't get to the bottom of it, because the error is thrown by external code... 

Our report viewer page ends up throwing 

Exception:Caught: "Invalid name character in 'List`1'. The '`' character, hexadecimal value 0x60, cannot be included in a name." (System.ArgumentException)
A System.ArgumentException was caught: "Invalid name character in 'List`1'. The '`' character, hexadecimal value 0x60, cannot be included in a name."

Which leads to 

A System.Web.HttpException was caught: "Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode."

 

None of our code is placing anything in to Session for the Report ... the code works fine for "InProc" session, which leads us to surmise that the Report Viewer control is utilizing Session State somewhere.  How can we utilize the Report Viewer control in a Serializable manner?

 

Thanks

 

Jeff

 

Stef
Telerik team
 answered on 11 Apr 2016
1 answer
118 views

Hi,

We are using Telerik Reporting (HTML5 Report Viewer) as main reporting solution in our web application (html5, Angular.JS, KendoUI, not based on ASP.NET). As a long lasting Progress partner, the company I work for just migrated to OpenEdge 11.6 in order to use the Pacific AppServer, and all our API's will be exposed using the Progress way (REST / ABL Web App projects) and not the Microsoft way (WebAPI).

In this scenario, how is it possible to implement the Telerik Reporting REST Service so that it's hosted on the Pacific AppServer? Any idea is welcome!

If you need more information, please let me know.

Best regards,

Mircea

Stef
Telerik team
 answered on 11 Apr 2016
2 answers
160 views

Hello,

I have a very simple scenario where I want to load a report created with the standalone designer in a WPF ReportViewer.

[Code Behind for Main Window]

            InitializeComponent();
            ReportViewer1 = new Telerik.ReportViewer.Wpf.ReportViewer();
            Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
            uriReportSource.Uri = @"./yop.trdx";
            this.ReportViewer1.ReportSource = uriReportSource;
            ReportViewer1.RefreshReport();

 

The ReportViewer is shown with the correct theme but the specified report (yop.trdx) failed to load. The report has only a static textbox in it (no datasource bindings)

My xaml look like:

<Window x:Class="App2.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:tr="http://schemas.telerik.com/wpf"
                xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
                Title="MainWindow" Height="350" Width="525"   telerikControls:StyleManager.Theme="Vista">
             <Grid>
        <tr:ReportViewer x:Name="ReportViewer1" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch"/>
    </Grid>

 

Could you please help me?

Thanks,

Thomas

 
Stef
Telerik team
 answered on 11 Apr 2016
2 answers
51 views

Hi Team,

I have created a dashboard with multiple tables and charts.When I click on preview button its showing same look as in design view.But when I see this in print preview or send them via email then all charts and report position changes.  there are blank pages shows between tables or charts.I have attached my sample dashboard .Please tell me how I can control all chart so that they look same in print preview as in design view.Is there any setting to adjust or control the charts position or table position??

 

Thanks,

Prashant

Katia
Telerik team
 answered on 11 Apr 2016
4 answers
736 views

Hi,
I need to hide some columns in a table.
I tried some programmatically approaches saw seen in the forum but none worked for me.

At the end i try to filter column groups as suggested by admin, this work, columns are hidden but the table don't shrink its width and
blank pages appear in the report.

There is a way to hide columns (using columns Group filter) and resize table to avoid blank pages

Thank you very much

Andrea

 

Andrea
Top achievements
Rank 1
Veteran
 answered on 08 Apr 2016
1 answer
50 views

I have the need to print off files along with my report. for example, printing a sales order with a PDF file of each item on the order.

i see that image files work great so the concept would be the same, but to call the PDFs file instead.

I have read that we can add custom functions so was hoping someone could share some ideas on how this would be approached.

the PDFs would ideally be within a container so we could control where within the report they would print, but I would even take it printing on a new page.

So in summary, I want to add a pdf like I would add an image, specify a field in my query that contains the path to my PDF, size the pdf container and be done.

any ideas?

 

Nasko
Telerik team
 answered on 08 Apr 2016
1 answer
755 views

Hi All,

I have created a table report in standalone report designer . It has 1000 number of rows so i want to add scroll bar in table please guide me.

Thanks,

Prashant

 

Katia
Telerik team
 answered on 08 Apr 2016
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?