Telerik Forums
Reporting Forum
7 answers
593 views
Hi

Is there a way to open the print dialog when you press the print button. Currently it askes if I want to open or save a PDF.

Andy
Peter
Telerik team
 answered on 05 Mar 2014
1 answer
533 views
Hi,
i have a table on my report. The Table is dynamic.
Now i would change the backgroundColor of a specified row.

How can i do something like this?
table.Bindings.Add( new Telerik.Reporting.Binding("Style.Background.Color"),"=IIF(Fields.1 == 'Summe', 'Red','Green')");

Thnaks for your answer....
Thomas
Top achievements
Rank 1
 answered on 05 Mar 2014
1 answer
96 views
So I'm currently part of a team that has been tasked with revamping a major corporation's reporting systems. There are a massive amount of reports done in Crystal Reports 8 (circa 1999) that we'd like to move over into Telerik Reporting. I know Telerik can convert from Crystal 10 and later, but what are my options for Crystal 8? Are there any converters that will get me from 8 to 10, so I can use Telerik for the conversion from 10 to Telerik? Any advice would be appreciated.
IvanY
Telerik team
 answered on 04 Mar 2014
1 answer
95 views
I'm creating 2 printable forms templates on 1 page. I can select all the report and when I copy and paste some times it works sometime not.

When it does paste the elements on the page, I can move them down using the down arrow keys but the panel sections grow as well as move.

I use the arrow to move and the shift arrow to resize normally.

Andy
Peter
Telerik team
 answered on 04 Mar 2014
4 answers
115 views
Just wondering if its possible to change the axis scale for a stacked bar 100% to use 0-100 instead of 0-1.

Many thanks.

Michael

Nasko
Telerik team
 answered on 04 Mar 2014
1 answer
99 views
What creating report to use Avery labels, is there a way to start printing at a particular label. rather than top left, so that part used sheets can be used.

Andy
Nasko
Telerik team
 answered on 04 Mar 2014
6 answers
382 views
I am using version Q2 2013.

I am attempting to bind a nested set of List objects to a CrossTab but have found that the data for a List only shows .Capacity and .Count but no other members of the class are visible in the DataExplorer,

I have seen similar examples in this forum but I cannot open the examples without build issues since they were done in an earlier version.
Below is an example of set of nested Lists.
Please provide example code on how to properly bind these objects to a CrossTab.
Thanks in advance.

    public class Parent
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
        public List<Child> ChildList { get; set; }
    }

    public class Child
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
        public List<Sibling> SiblingList { get; set; }
    }

    public class Sibling
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
    }
KS
Top achievements
Rank 1
 answered on 04 Mar 2014
1 answer
611 views
Hello

I have a report that effectively needs three datasources, the second two that need to show in datatables, to be set via the calling webpage.
After some failed attempts, I decided to change them to sub reports but the lack of documentation on what exactly needs to be done from start to finish didn't help.

So I've gone back to the data tables as I had and thought I'd use the needdatasource for each of them and grab the data from a method that way rather than from the calling webpage.

Now in debug mode, this does appear to work - it does go into the needdatasource for each and it does show the data on the report correctly.

However, as soon as I publish, the two tables show without any data, just the layouts as if there isn't any data being found.

Here is my needdatasource for one of the tables:

Private Sub QuoteLines_NeedDataSource(sender As Object, e As EventArgs) Handles QuoteLines.NeedDataSource
Dim oQA As New Reports
 Dim dsQuoteLines As DataSet = oQA.Report_GetQuoteLines(Me.ReportParameters("QUID").Value)
 QuoteLines.DataSource = dsQuoteLines
End Sub


Any ideas??

thanks

Cheryl
Top achievements
Rank 1
Iron
 answered on 04 Mar 2014
1 answer
212 views
Hi

I'm having trouble getting the code example http://www.telerik.com/help/reporting/faq-display-pdf-browser.html


This line - Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, Nothing)
throws the following error:

Value cannot be null.
Parameter name: type

Andy

Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
 
    ExportToPDF("NoiseTestBlanks.trdx")
 
End Sub
 
Sub ExportToPDF(ByVal reportToExport As String)
 
    Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor()
    Dim typeReportSource As New Telerik.Reporting.TypeReportSource()
 
    ' reportToExport is the Assembly Qualified Name of the report
    typeReportSource.TypeName = reportToExport
 
    Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, Nothing)
 
    Response.Clear()
    Response.ContentType = result.MimeType
    Response.Cache.SetCacheability(HttpCacheability.Private)
    Response.Expires = -1
    Response.Buffer = True
    'Uncomment to handle the file as attachment
    'Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", reportToExport))
    Response.BinaryWrite(result.DocumentBytes)
    Response.End()
 
End Sub

Peter
Telerik team
 answered on 03 Mar 2014
1 answer
135 views
Hi
I have a ASP.NET page with a report viewer. The report viewer starts off with a report catalog, which is just a list of reports similar to the Report Catalog example. You can then navigate to any of the reports by clicking on its name (using the "Navigate to Report" action). We also use the Navigate to Report Action in many other reports too. All of this works very well.

The only problem is when a user navigates to a report, there is no indication which report is the current report, especially if the report is not automatically rendered due to missing parameter values. What I need is to display the current report's name or title somewhere on the page. Is there a server or client-side event I can use when a new report is loaded after a Navigate to Report action?

Thanks
Pierre-Andre
Stef
Telerik team
 answered on 03 Mar 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?