Telerik Forums
Reporting Forum
4 answers
254 views
Hi Telerik Team,

Is there any possibility to convert a web page to PDF using Reporting tools?

Thanks in advance

Steve
Telerik team
 answered on 16 Jun 2010
2 answers
126 views
Hi all,

I have a report with an objectdatasource bound to its datasource. I know the type of the object used into this objectdatasource. I would like to get this object from the report's code behind to execute some tasks but I can't find it anywhere nor how to do this.

Can you please help me ?

Thanks
Regards,

Steeve
LE DREAU Steeve
Top achievements
Rank 1
 answered on 16 Jun 2010
0 answers
101 views
Hi,


I am facing printing problem in server.I wrote this code 

using (System.Windows.Forms.PrintDialog printDlg = new System.Windows.Forms.PrintDialog()) 
printDlg.AllowSomePages = true
printDlg.AllowCurrentPage = false
printDlg.UseEXDialog = true
 
if (System.Windows.Forms.DialogResult.OK == printDlg.ShowDialog()) 
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); 
reportProcessor.PrintReport(report, printDlg.PrinterSettings); 

this code working in local system like developer system, printing is good.But it's not working on server please it's very argent how to solve this problem.

thanks and regards
shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 16 Jun 2010
1 answer
113 views
I'm just learning Telerik and am fairly new with C# and VS as well, so my apologizes for how simple a question this must be.

I have two tables: Order_Header and Order_Details.  Every order has a single entry in Order_Header and multiple entries in Order_Details (one for each product purchased).  

Order_Header: [OrderID], [OrderDate], [OrderNumber], [Taxes], [ShippingCost], [OrderTotal], [GST], [PST], [HST]
Order_Details: [DetailID], [OrderID] (ref Order_header), [ProductID], [Quantity], [SellingPrice]

My report is grouped by [Order_Header].[OrderNumber] (unique to each individual order).  
The Group Header shows [Order_Header].[OrderNumber], [Order_Header].[ShippingCost], .[GST], .[PST], .[HST]
The report details shows [Order_Details].[ProductID], [Order_Details].[Quantity], [Order_Details].[SellingPrice]
Ideally the report footer will summarize Quantity, Selling Price, ShippingCost, GST, PST, HST

My challenge is this: If i do SUM(ShippingCost) in the report footer, it sums it once per every item in Order_Details, rather than once per Order_Header.  Is there a solution to this?  Sum by group or somesuch?  I'm also not above accumulating a variable in the codebehind if someone is kind enough to explain how.

Thanks!

P.S. Windows 7, Visual Studio 2008, Telerik Reporting Q1 2010, and Chrome/Firefox/Opera/Safari/IE for browser

Peter
Telerik team
 answered on 15 Jun 2010
1 answer
119 views
I'm new to Telerik Reporting and I have a report that using parameters and it works great.  Now I need to figure out or find an example of how to default the report to show all the data and allow users to filter down the data by using the parameters.  I have 3 paramters but I don't want to force the users to use all 3 parameters.  Any help would be much appreciated.
Peter
Telerik team
 answered on 15 Jun 2010
1 answer
120 views
Hello,

A table created in a report has a sorting property. When I click on the smart link button, the screen opens up where I can choose different  columns of the table and their direction(ASC or DESC).

My question is can I access these 2 properties(Expression and Direction) at run time.
When I write in my code "table1.Sorting." it doesn't give me any and expression or direction field.
Please suggest,


Thanks
Steve
Telerik team
 answered on 15 Jun 2010
1 answer
234 views
I am new to Telerik and trying to create a report to use in a ASP.Net Website using VS 2008.  After "Add New Item" > "Telerik Report Q1 2010", and then Run the wizard to pull data from a SQL database, and set up the report in the Designer tab, I can not see any results in the Preview or Html Preview.  Note for some reason the report wants to be in the App_Code folder, not sure if that means anything or why it wants to be in that folder.  I also tried to make a page with a report viewer on it to see if it can desplay the results, and found that the report view can't even find an associated report in the project.  Any help you could give would be great.
Steve
Telerik team
 answered on 15 Jun 2010
1 answer
418 views
Hi,

I have panel. At design time, Panel1.Location.X is 9.23cm. At run time i want to change it to 0.03cm. here is the code.

Panel1.Location.X.Add(

new Telerik.Reporting.Drawing.Unit(0.03, Telerik.Reporting.Drawing.UnitType.Cm));

But i don't see it gets changed. I've another panel at Location.X = 0.03cm which is made invisible at runtime. Is there anyway to change the location of control at run time?

Thanks in advance.

 

Steve
Telerik team
 answered on 15 Jun 2010
4 answers
75 views
Hi There,

We have a desktop application using Telerik Reporting Q2 2009 SP1. We generate a PDF report and write it to disk. This process usually takes between 5 - 15 seconds depending on the report being generated (there are a number). We have 1 customer though who is running our application on Windows XP Pro SP3 and when they try to generate a report it takes up to 30mins!!! During this time 1 cpu of their Core 2 Duo 2.0GHz processor (4GB RAM) is maxed out to 100%. The report will eventually successfully generate and be written to disk, but it's just very strange behaviour. 

The particular report in question has a cover page, 2 sub-reports, a bar graph with 5 bars, and a small number of text bound fields. We are using the NeedDataSource to dynamically hook up the datasource for the report. The time it takes for this method to run under normal conditions is approx. 4-6secs. This is still the same on the customers computer too. It is the Report Rendering after databinding that takes the remainder of the time.  

We have not had any other customers report this behaviour and I am unable to replicate it for testing/debugging purposes. Is there any way I can turn on verbose logging in the telerik engine via a setting in the App.config file that will write a log file somewhere that might show what is happening during the report generation? We are running on .Net v2.0 (no 3.0 or 3.5 stuff at all).

thanks

Stuart
Steve
Telerik team
 answered on 15 Jun 2010
4 answers
215 views
Hi,

    I've a main report with five sub-reports added to it. Each sub-report have different page header. When i view the main report, i'm not able to see the various page-headers. How can i view different page header for each sub-report?
    I want each sub-report to start in a new page. How can i get it?

Thanks in advance
Steve
Telerik team
 answered on 15 Jun 2010
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?