Telerik Forums
Reporting Forum
1 answer
129 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
135 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
248 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
451 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
83 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
251 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
245 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
109 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
370 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
449 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
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?