Telerik Forums
Reporting Forum
1 answer
225 views
Hello together,

I have an issue - like many other had before - but with recommended solutions... I could not fix it.
I run into "To prevent possible data loss before loading the designer, the following errors
must be resolved" issue.
I was setting up a new laptop - as harddrive crashed on old one. I recovered all files via MS TFS. I can build and run application - without any issues. But when i try to open it in designer... I get the error message.
I used already upgrade wizard, deleted old resx files, closed app, reboot etc. none of them helped.

Attached is the Call Stack.
I use Win 8.1, VS2012 and Telerik Rep Q1/2014. All with latest updates.
The issue happens on all reports - made with Telerik Reporting.

Any ideas how to fix it?
Thanks
Bjoern
Stef
Telerik team
 answered on 06 May 2014
3 answers
92 views
I need to display formatted (bold, italic, color and font) text in a single report field.

I see that in the UI for silverlight suite there is a richtext WYSIWYG editor.  I also see that reports supports an HTML textbox.

I currently have letters in RTF that I need to render in the reports, but there seems to be no RTF textbox for reports.

So I have a delimea, ideally I could use an RTF Textbox for reports, as a second choice I need an HTML WYSIWYG silverlight UI editor,
and thats assuming I can convert my existing RTF to HTML.

There are other 3rd party HTML silverlight editors, but I would rather use RTF, and I'd rather deal with only one vendor.

Is there any way to render RTF in a report?

Do you have an HTML silverlight editor?

Nasko
Telerik team
 answered on 06 May 2014
3 answers
110 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
713 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
374 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
247 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
345 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
153 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
156 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
101 views
Report file is created but not saving as .trxd file
Stef
Telerik team
 answered on 01 May 2014
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?