Telerik Forums
Reporting Forum
1 answer
431 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
78 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
228 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
1 answer
239 views
Dear all,

I am using custom button to print report. Already i am having report i want when user click print receipt button it call my report.I am not using telerik reportviewer.It should display print dialogue box for selecting printer.

Azeheruddin khan
Peter
Telerik team
 answered on 15 Jun 2010
3 answers
104 views
Hallo everyone,

i'm developing some reports for a customer and now have to create a "order report".

This report should be "ready for mail" after printend. For this i need the following structure:

Report Intro (only on the first page at the first position, contains company logo, adress data of the recipient etc.)
Page Header (repeats on every page, contains some more detailed data)
Detail Area (contains order positions)
Page Footer (some legal informations)

Now i dont't get it how to do this with Telerik Report.

In Telerik Report i can choose a Report Header, Page Header, the Groups and a Page / Report Footer.
But the Problem is, that on the first Page the Page Header is shown at first, not the Report Header. But i need something that is in front of the Page Header. How can i do this? Is there something like a "Report Intro" that i can use? Or is there a trick i didn't discover?

Please help me :)

Regards,
Michael
Michael Hilgers
Top achievements
Rank 1
 answered on 15 Jun 2010
2 answers
359 views
Hi,

I want export report to pdf in programmatically in button click event . That pdf file window open on browser .So  how to solve this problem .I want  solution of this .Am writing this code .But it's not wroking .
 var report = new TelerikComponentsWS.Reports.RepFeeReceipt(); 
                report.DataSource = printdata; 
                Telerik.Reporting.Drawing.ExternalStyleSheet exx = new Telerik.Reporting.Drawing.ExternalStyleSheet("~\\css\\ReprotStyleSheet.xml"); 
                report.ExternalStyleSheets.Add(exx); 
                report.ReportParameters[0].Value = strTitle; 
                Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); 
                Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", report, null); 
                
             string fileName= result.DocumentName + ".pdf";  
            System.Web.HttpContext.Current.Response.Clear() ; 
                System.Web.HttpContext.Current.Response.ContentType = result.MimeType;   
            System.Web.HttpContext.Current.Response.Cache.SetCacheability( System.Web.HttpCacheability.Private) ;  
            System.Web.HttpContext.Current.Response.Expires = -1  ; 
            System.Web.HttpContext.Current.Response.Buffer =true
shanker bangari
Top achievements
Rank 1
 answered on 15 Jun 2010
1 answer
436 views
I am using Telerik Reporting 2009 Q2 version. In my report, I need to reset the page number by report group.
I had been looking for the solution few days.
In the forum, referring to (http://www.telerik.com/community/forums/reporting/telerik-reporting/having-a-pagecount-on-grouping.aspx)
Mr Steve said, Telerik don't have such feature.

But, is there any work around to have it?

I actually did write a function for it. But still not able to get the result as I want.  Below is the function:

 private void ghDO_ItemDataBound(object sender, EventArgs e) 
        { 
                    
            //Get the group section object from sender 
            Telerik.Reporting.Processing.GroupSection groupSection = (Telerik.Reporting.Processing.GroupSection)sender; 
 
            //From the group section object get the current DataRow 
            System.Data.DataRow row = (System.Data.DataRow)groupSection.DataObject.RawData; 
 
            //If Previous DO is not equal to current DO. Page Number reset to 1. 
            if (OldDO != null && OldDO != groupSection.DataObject["do_no"].ToString()) 
            { 
               
                pageNumber = 1; 
            } 
            else  
            {   
                pageNumber = pageNumber + 1;  
            } 
             
            OldDO = groupSection.DataObject["do_no"].ToString(); 
            pageNo.Value = pageNumber.ToString();           
             
        } 
In my report, I define the page number as 1 in the text box by default.
When I preview the report, I keep getting page number = 1 even thought a DO is print in 2 pages.
Where is my mistake? Or, the function above totally won't be working?

 

Chavdar
Telerik team
 answered on 14 Jun 2010
1 answer
169 views
I can't seem to get this to work... I followed the documentation for alternating style row....
Does this work with a cross tab?

=RowNumber()%2 =1

help
thanks!
Jon
Top achievements
Rank 1
 answered on 14 Jun 2010
1 answer
111 views
Hi,

I am building a project with deals with large quantity of data, some reports also have data ranging from 10-15 million values.
Hence it takes about a minute for the report to display.

Is there any way to stop the report in progress i.e before the values are displayed , I tried stopping using the browser stop button, but it still doesn't stop.
Is there any other way to do it.

Thanks
Steve
Telerik team
 answered on 10 Jun 2010
1 answer
246 views
Hi all,

   I have a deisre to automatically print a report after it is displayed in the HTML viewer (web browser).  I have reviewed the posts from the forums, particularly http://www.telerik.com/community/forums/reporting/telerik-reporting/print-my-report-straight-to-printer.aspx, but I am very confused about what I need to do.  I tried a couple attempts in the code-behind but they didn't work out.

Does anyone have a simple example project that shows how this feature is used?  Or if not, can someone explain step by step what modifications to make to which code files (the .aspx, the .cs) to obtain this functionality?  Any help will be greatly appreciated, thanks!

-Chris
Chris Butler
Top achievements
Rank 1
 answered on 10 Jun 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?