Telerik Forums
Reporting Forum
1 answer
278 views
I have a customer that reports that when they render a report, the CPU on the server spikes to 100%. They are not too worried about the CPU usage in itself (it is a big report and they know it will take some time to render). But they ARE concerned that the report generation is consuming so much CPU that other interactive requests to the server cannot be quickly serviced.

Is there a way to limit the amount of CPU used or to set the thread priority to lower than normal for the thread that is servicing the render request? In .NET, I know you can set a thread's priority before starting the thread, but can it be changed once the thread has started? I am thinking that in the NeedDataSource callback for my report I could set the current thread's priority to belowNormal, but I don't know if there will be unwanted side effects. I am assuming that the thread that services the render request is a normal IIS-provided thread and that when it is done servicing the rendering request it will exit (thus, the low priority setting of the thread won't affect any other requests since the thread won't be servicing any other requests).

Has anyone tried limiting the cpu usage of a rendering request?

Thanks,
-Eric

keywords: Telerik Reporting Performance
Svetoslav
Telerik team
 answered on 25 Sep 2009
1 answer
238 views
I'm making a SSCC barcode using EAN128 symbology and i'm having trouble inserting the end of field character for a concatenated barcode.

Example:   (01)12345678901234(37)20(10)09092559725

I need a FNC1 character which scans as "F1" after the quantity of 20. <GS> or Chr(29) does not conform to the customer's standards and Chr(200) is an invalid character. It seems the "StartC" and "F1" characters are inserted automatically to the start of the barcode. I just need to know what the ascii code or string representation for the "F1" character is, please.

Charlie
Ivan
Telerik team
 answered on 25 Sep 2009
1 answer
56 views
Hello

A while back someone said they'd heard you were going to bring out a report creator that a web/win user can use to design their own reports.

I cannot find anything about this on this site, so I am wondering if I am missing something or this person misunderstood?

Thanks

Bex
Steve
Telerik team
 answered on 25 Sep 2009
7 answers
306 views
Hello,
I'm trying to have a page count based on the gruping I've set on a int, if I exceed a page (considering header and footer) I wish to reset the number of the page to 1... for example page 1/2...page 2/2 for user "aaa", then page 1/1 for user "bbb" and so on... how can I achive this?
Michele
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
72 views
Hello,

          I am using RadSchedular in my application.
          Now i want to open new aspx page in Popup window, when i click on any of the date region inside RadSchedular.

          I want new page to be open inside PopUp on this event.
          Also i want to remove the small popup which opens when we click on specific date inside radschedular.

          IS it possible to do so?
          Its very important for me to do so.

          Please reply me as soon as possible.




Thanks,
Kunal

        
        
Peter
Telerik team
 answered on 25 Sep 2009
2 answers
100 views

 

hi!  I have create chart using xml data...I have use below code in chart need datasource event... I have get the output as pichart with salesorpurchasedesc column...But Now I want the output piechart with labels as itemlineamount data but this data in percentage format...and each salesorpurchase desc data left side of the pie chart that referring each itemline amount data..please help me...

chart needdatasource event
string
fileName = @"D:\text\jccantera\jccantera\jcc.xml";

 

 

var reader = new StreamReader(fileName);

 

 

XmlSerializer serializer = new XmlSerializer(typeof(NewDataSet));

 

 

var report = (NewDataSet)serializer.Deserialize(reader);

 

Telerik.Reporting.Processing.

Chart procChart = (Telerik.Reporting.Processing.Chart)sender;

 

 

DataSet ds = report;

 

procChart.DataSource = ds.Tables[

"BillItemLine"];

 

 

ChartSeries series = new ChartSeries();

 

series.DataYColumn =

"ItemLineAmount";

 

series.DataLabelsColumn =

"SalesOrPurchaseDesc";

 

series.Appearance.ShowLabelConnectors =

true;

 

 

JCChart.Series.Add(series);

 

procChart.DataSource = ds.Tables[

"BillItemLine"].DefaultView;

 

JCChart.DefaultType = Telerik.Reporting.Charting.

ChartSeriesType.Pie;

Xmldata

 

<

NewDataSet>

 

<

BillItemLine>

 

<

ItemLineAmount>844.35</ItemLineAmount>

 

<

ItemLineItemRefListID>350000-1247582799</ItemLineItemRefListID>

 

<

EstimateKey>Plan 804-1:804-1-502</EstimateKey>

 

<

Plan>804-1</Plan>

 

<

HouseAddress>3341 West Avenue, Beaumont</HouseAddress>

 

<

EstimateLineAmount>6000</EstimateLineAmount>

 

<

Name>804-1-502</Name>

 

<

SalesOrPurchaseDesc>Foundation Labor</SalesOrPurchaseDesc>

 

</

BillItemLine>

 

<

BillItemLine>

 

<

ItemLineAmount>84.87</ItemLineAmount>

 

<

ItemLineItemRefListID>370000-1247585073</ItemLineItemRefListID>

 

<

EstimateKey>Plan 804-1:804-1-633</EstimateKey>

 

<

Plan>804-1</Plan>

 

<

HouseAddress>3341 West Avenue, Beaumont</HouseAddress>

 

<

EstimateLineAmount>300</EstimateLineAmount>

 

<

Name>804-1-633</Name>

 

<

SalesOrPurchaseDesc>Portalet</SalesOrPurchaseDesc>

 

</

BillItemLine>

 

 



Steve
Telerik team
 answered on 25 Sep 2009
1 answer
257 views

Hello Telerik team,

To achieve the number of records for a group footer or a Report footer we used =Count(‘fieldname’)

 

But I have a scenario where in I need to count only unique values for my number of records for both Group Footer and Report Footer.

 

For example:

I'm printing a report for leave applications

 

1 employee applied a 5 days leave in one transaction (The transaction was tag with an ID)

So I got 5 Rows with Same ID.

 

When I try to display a report it will always show me 5 records which is correct, but how do I count the unique ID? I dont want my number of record to be counted as 5 records instead I want the count of the unique ID.


Steve
Telerik team
 answered on 25 Sep 2009
2 answers
126 views
Hi

I am struggling at every step at the moment.  I have a report and a subreport and both preview they are in the same solution.  when i try to define the reportsource to  the subreport i get an error

type mysolution.mysubreport is not defined.

Please can someone shed light on where i am going wrong with this.

Many thanks

Al
Al
Top achievements
Rank 1
Iron
 answered on 24 Sep 2009
1 answer
201 views
Hi there,

I've been trying to remove a background image by setting conditional formatting rules, but I can't seem to do so. I've been able to replicate the behavior in Preview mode with a static report (with no data source) by following these steps:

1. Add a new report to the project. Select No Data Source and leave the defaults for the other options.

2. In the reportHeader section, shrink the Report1 text box.

3. Add an empty TextBox below the Report1 text box.

4. Right-click on the newly created text box and select Style.

5. Under Background, select any small mage for ImageData that would fit in the textbox.

6. Right-click outside the report's boundaries and select Report Parameters.

7. Create a parameter named "test" of type Boolean with value =False.

8. Right-click on the text box again, and select Conditional Formatting.

9. Create a new rule with the following specifications:

  • Expression: = Parameters.test
  • Operator: =
  • Value: =False
  • Style: Text Bold, 14pt; Background Beige, do not select a background image

10. Save and Preview the report. Notice how the textbox has a beige background but the image is still there.
Am I doing something wrong?

I'm using Q1 2009.

Thanks,
Mark
Steve
Telerik team
 answered on 24 Sep 2009
1 answer
127 views
Hi there,

I have the following group structure:

Group A - KeepTogether = true
    Group B - KeepTogether = false
        Group C - KeepTogether = false

Data for a given instance of Group A exceeds a single page. So if I'm viewing an instance of Group A data (which can contain several nested layers of Group B and C data), the data for all of the Group A data in that instance is present on a single page, which seems to be incorrect. Subsequent instances of Group A data occur on separate pages, which seems to be expected behavior.

As an example, I just produced a report with 3 instances of Group A data. In the viewer, this data is displayed as three long pages containing each instance of Group A data in its entirety. When I export to PDF, each instance of Group A data is split across 3-4 pages, for a total of 10 pages. The footer is replicated correctly with differing page numbers (1-10) on each page.

Also, curiously, if I were to print straight from the viewer by clicking the Print button, the viewer correctly supplies the default pages 1-10 in the "Pages" text box, and 10 pages are printed without changing any of the settings.

Any ideas what could be happening? It just seems a bit odd that 3 pages instead of 10 are shown in the viewer, but on paper and for exporting, the 10 pages are rendered as one would expect.

I'm using Q1 2009.

Thanks!
Steve
Telerik team
 answered on 24 Sep 2009
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?