Telerik Forums
Reporting Forum
3 answers
100 views
Hi,

I have a multiple page report that uses RadGridView to organize the data. When I try to export it to excel, it only exports the current page, and not the whole thing. Is there a way to go through each page and export it all to one document? I tried setting the ItemSource for the button to be the entire Results set instead of the CurrentBatchResults but it still only gives me the current page. 

Only the first page is generated at first, and subsequent pages are generated upon clicking to the next page due to performance issues. These reports often look at tens of pages at 100 rows per page, so to generate it all on one page would take too long for our users. Any ideas?
Stef
Telerik team
 answered on 05 May 2014
25 answers
556 views
I have updated to Telerik Reporting Q1 2013 build 7.0.13.220 and can not get WPF Report Viewer to run.

I have created a fresh WPF Application project and the only usercontrol contains a dragged on ReportViewer control.

I have confirm that references also contain Telerik.ReportViewer.WPF Q1 2013 build 7.0.13.220 as well.

At runtime of this simple WPF applicaton I am getting "Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception." thrown.

Any suggestion on how best to overcome this is welcomed.

Thank you,
Mandar
Top achievements
Rank 1
 answered on 03 May 2014
2 answers
356 views
Dear All,

For some days now I am struggling with a problem to export my report to PDF.
using the command  "ReportViewer2.ExportReport("PDF", deviceInfo)" there is no problem but I want to name the report  and the location dynamically.

using this code

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim savepath As String
        Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor()

        'set any deviceInfo settings if necessary
        Dim deviceInfo As New System.Collections.Hashtable()

        Dim typeReportSource As New Telerik.Reporting.TypeReportSource()

        ' reportName is the Assembly Qualified Name of the report
        typeReportSource.TypeName = "Factuur3"

        Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo)
        Dim fileName As String = result.DocumentName + "." + result.Extension
        Dim path As String = System.IO.Path.GetTempPath()
        Dim filePath As String = System.IO.Path.Combine(path, fileName)

        Using fs As New System.IO.FileStream(filePath, System.IO.FileMode.Create)
            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length)
        End Using


        savepath = "c\testdir\facturen\"

    End Sub

is giving me an error "Invalid reporttype"

Anyone any suggestions?


Juan
Top achievements
Rank 1
 answered on 02 May 2014
4 answers
221 views
Hi All,
I'm new on using Telerik Reports. I'm just wondering how can I get the ObjectDatasource of my Master to my Subreport.
I have used this code from the documentation and it works fine when I use it directly to a report but when its being used to a master, cant seem to pass the datasource.

​ Dim objectDataSource As New Telerik.Reporting.ObjectDataSource()
    objectDataSource.DataSource = GetMyData() ' GetData returns a SqlDataAdapter object which has a select command with three SELECT statements.
    objectDataSource.DataMember = "Table2" ' Indicating the exact table to bind to. If the DataMember is not specified the first data table will be used.
    objectDataSource.CalculatedFields.Add(New Telerik.Reporting.CalculatedField("FullName", GetType(String), "=Fields.Name + ' ' + Fields.ProductNumber")) ' Adding a sample calculated field.

    'Creating a new report
    Dim report As New Telerik.Reporting.Report()

    ' 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.
    Dim reportSource As new InstanceReportSource
    reportSource.ReportDocument = report

    ' Assigning the report to the report viewer.
    reportViewer1.ReportSource = reportSource

    ' Calling the RefreshReport method in case this is a WinForms application.
    Me.reportViewer1.RefreshReport()


Please note that using vb code, Report Q3 2013 and I wonder why Subreport.ReportSource.Datasource is not available
Any help would greatly appreciated,
Thanks in advance,
RJ
KS
Top achievements
Rank 1
 answered on 02 May 2014
2 answers
329 views
The feature request is to be able to hit the Print button (HTML5 implementation) and do an in browser PDF view with the auto print feature. Right now it will download the PDF so after multiple report prints you end up with a bunch of left over copies of the PDF in the user's download folder. Just adds clutter to the user's machine.

We can write our own PDF download feature on the server with a Content-Disposition of inline (currently Telerik is sending them down as 'attachment'), but we are hoping this was a feature already directly supported in Telerik Reporting without us needing to write special code. 

Note: what we want to keep in place is the way the PDF's are ImmediatePrint when Adobe opens them too. 

Thank you
NerdBrick
Top achievements
Rank 1
 answered on 01 May 2014
2 answers
138 views
Hi!

I am trying to make a simple edit in one of my reports using report designer.

I try to configure the data source in order to test it but i cant do it since the dropdown box is empty. SQL Server connectivity tools are installed.

This is not happening to only one machine

Here is a picture of the application: IMAGE
Elias
Top achievements
Rank 1
 answered on 01 May 2014
2 answers
137 views
I'm working on a project where telerik 7 reports has been used. Now am doing some enhancements for that reports and when I try to download telerik 7 it's directly downloading telerik 8 and when I install telerik 8 the reports are not showing its design view . If any upgrades are provided for telerik make sure that it will work on evey verison of its application , there's any way I can get telerik 7 exe  
Stef
Telerik team
 answered on 01 May 2014
1 answer
88 views
Report file is created but not saving as .trxd file
Stef
Telerik team
 answered on 01 May 2014
1 answer
98 views
I have create a report by grouping like below :
Cust00010      Chhan Sophal
LogNo       LogTitle
1                log1
2                log2
3               log3

the result show correct like above and export to pdf and csv are ok , but i export to Excel i got the errors like "Object reference not set to an instant of an object " 


Please help!! pls
Ivan Hristov
Telerik team
 answered on 01 May 2014
1 answer
131 views
Hello,

I see other Telerik products have NuGet packages - is there any plan to offer a NuGet package for the Reporting product?

Best,

John
Stef
Telerik team
 answered on 01 May 2014
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?