Telerik Forums
Reporting Forum
7 answers
467 views
Hello,
I am a new user on Telerik reporting in demo for now.
I try to realize to insert in my report a line at the end of page and at the beginning of the page who make a sub total of an group who is not ended on a page.
My report is like this :
Page Header
Report Header
    First group title 
    columns titles
            Detail lines
        Second group  totals
    First group totals
Report Footer
Page Footer
When a page breaking the second group, I want this
    detail lines
    sub total line of the second group (sum of the lines before in the group)
page footer
page header
    First group header
    columns title
    sub total line of the second group (sum of the lines before in the group)
    detail lines
    
I tried this :
Page Header
Report Header
Group 1 (grouping on a  string field) 
    Header group 1                     whit the string field
    Group 2 ( no grouping)
        Header group 2 with my columns header
            Group 3 (grouping on a date field with no header)
                    Group 4 (no grouping)
                        Header group 4 (PrintOnEveryPage = true)  contains a sub total by programming -> I want this visible only if a page break occurs
                            Detail     contains a total of the precedent lines
                        Footer group 4 (PrintOnEveryPage = true)  contains a sub total by programming -> I want this visible only if a page break occurs
                Footer group 3   contains a sub total of all lines of the group 3
    Footer Group 1 contains a sub total of all lines of the group 1
Page Footer

two problems occurs : 
    - I don't see a function which can do the sum of only the detail lines before the page footer 
    - I can't render visible or not the group Header / Footer 2 because I don't know the reaon why it appears

Is this an issue of my problems ?
Is it a better way to do this ?
Steve
Telerik team
 answered on 14 Apr 2011
4 answers
705 views
Hello,

We would like to have the ability to export a report to a PowerPoint slide.
Since this is not built-in right now, we are looking for a way to make it happen.
One option maybe is to programmaticaly export to TIFF image and insert the image into PowerPoint with the Microsoft object model.
There are two questions in this scenario though:
How do we add a custom option for PowerPoint into the export dropdown?
In the export event, how do we get the tiff file in the code behind so we can load it into a bitmap object and load it into a PowerPoint object?

Thanks in advance for any help!
 
Steve
Telerik team
 answered on 14 Apr 2011
1 answer
139 views
Hello,

I have not been able to build my solution (or website) because of this issue:

Error   68   The type 'Telerik.Reporting.ReportBook' exists in both 'c:\Windows\assembly\GAC_MSIL\Telerik.Reporting\4.1.10.921__a9d7983dfcc261be\Telerik.Reporting.dll' and 'c:\Users\superman\AppData\Local\Temp\Temporary ASP.NET Files\root\21b51189\d0797591\assembly\dl3\bce8fa62\00e6ac47_8f23cb01\Telerik.Reporting.DLL'   C:\Projects\SimpleTickCoreAppOnSeed\TheaterSales\DemoSite\BoxOffice\EventManagment\PrintAttendeeTickets\eTicketsPerOrderId.aspx.cs   25   


I'm using....

Microsoft Visual Studio 2010
Aron
Top achievements
Rank 2
 answered on 14 Apr 2011
1 answer
91 views

Hi,

I've noticed that if I make changes in other projects that the reports project depends upon I need to restart Visual Studio in order for the changes to take affect in preview of the report inside VS.

The simplified solution structure looks like this

Solution
-ReportsProject
-EntityFrameworkProject
-OtherClassLibraryProject

E.g. if I make any changes to a method in OtherClassLibraryProject or create a new method that I then use in my reports I need to restart VS in order to see/get the updated version.

Tomas

Steve
Telerik team
 answered on 13 Apr 2011
1 answer
118 views
Since the last minor release (Q12011) of the telerik reports, there exits a problem with the width of reporting-elements in the web-report-viewer. It's hard to explain... so check out the attached pictures...

The problem is the missing width-attribute. So my question is, is this a bug? Or a new feature, that i have to edit a property of the textbox in the designer?

regards,
basti
Steve
Telerik team
 answered on 13 Apr 2011
1 answer
115 views
Hi,

I've just upgrade my telerik WPF reporting solution from 4.2.10.1221 to version 5.0.11.316 , when I try to generate a report the new dll's return an error, "Object reference not set to an instance of an object.".  But the same thing is working fine with the Old dll's (i.e with 4.2.10).

Attached is the screen shot of the error screen. Also for your reference I created a sample project in which I used two different versions of reporting dll's ("4.2.10.1221" and "5.0.11.316"). Please download that sample application from the below link.
http://www.filedropper.com/reportdemo



Thank you

Steve
Telerik team
 answered on 13 Apr 2011
9 answers
405 views
Is there a way to append an additional report to the end of a report when exporting to PDF?  I need to attach 2 reports together so the end user only has to run and print 1 report.
Corey
Top achievements
Rank 1
 answered on 13 Apr 2011
1 answer
10.2K+ views
i know that it has been said that the IIf function evaluates both the true and false expression and reports an error if either causes an error and this is done by design. I'm just confused how, without a user function, to do certain, everyday things. For example.. In case of this simple report:

item.... sold... avg price.. in stock..  avg days
A112       5        112.00             5               22
A113       0            !DIV             1               12
A114       1        114.00             0             !DIV

in a normal situation you would get the avg price by using the expression =iif(Fields.sold>0,Fields.totalprice/Fields.sold,0) and avg days in stock =iif(Fields.instock>0,Fields.totaldaysinstock/Fields.instock,0)
but in telerik reports the expression will cause a divide by 0 error because both expressions in the iif() are evaluated. These are simplified examples and I understand there is an avg() function, but there is more processing going on that voids it's use.

Steve
Telerik team
 answered on 13 Apr 2011
2 answers
126 views
Hi, I use silverlight to consume a report hosted in a IIS web server. I use ASP.NET form authentication to authenticate users. Everything is normal for WCF service, but I don't know hot to implement authentication for report service. Can anybody help me?
Manh
Top achievements
Rank 1
 answered on 13 Apr 2011
2 answers
208 views
Hello ,

we are following SAAS model in our application and we are following different database for each company. We have one class library which will be shared by all the companies. For SAAS we need to provide a connection string runtime. Please provide us an efficient way to set the connection string run time for report.

Thanks in advance.
Andrew Ryan
Top achievements
Rank 1
 answered on 12 Apr 2011
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?