Telerik Forums
Reporting Forum
2 answers
92 views

Hello All,

I've got what I believe to be a fairly simple question, but I am relatively new to the Telerik and VB "community", so bare with me PLEASE.

I've written a union statement that will bring back a report that looks something like this:

Name     Plan      Plan Code
-----------------------------------
Will        1A         XYZ  
Will        2A         ABC
Mary      1A         XYZ
Mary      1A         XXX
Mary       2A        ABC
Sam       1A        XYZ
Sam        2A       ABC

I'm trying to set up a report to identify duplicates.

I would like to identify Mary because she has 2 plan 1A's with different plan codes. Simply to show both the 1A rows for Mary either bolded or italicized, etc. I don't want to remove it because this is for an auditing process for our database. How can I achieve this?


T.I.A.,
B

BryanR
Top achievements
Rank 1
 answered on 16 Feb 2012
2 answers
274 views
Hi Telerik Team,

I have been trying to print id cards as reports in my winforms app. The problem is they feed cards as batch of 10 cards in single sheet. For a member I use two cards from the batch (one for front, one for end of the card). Their question is do they have to waste the remaining 8 cards because they'll always print 2 at a time. So I am wondering if there is anyway to tell report to print to a particular point in paper or if there is a better way please point me to it. Please see attachment.
Thank you. All help is appreciated.
Erkut
Elian
Telerik team
 answered on 16 Feb 2012
1 answer
112 views

upgrade seem to go fine. when building win form app I get this error on most of the telerik reports.

telCompareProperties.resx : error RG0000: Object reference not set to an instance of an object.

IT Manager
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
127 views
Hello there,

in my attachment you see a chart which I want to design with Telerik Reporting. The chart itself is no problem, my problem are these "extra" tables on the right.
As you can see, these tables display average values for each Series Bar as number values (1st number), average values for the smaller Bar (2nd number) and two symbols

The difficulty is that the numbers of displayed bars (i.e. SeriesItems) varies. It depends simply on User selection, the user can select 1 up to (theoretically infinite) numbers of series.

Now the Questions:
How can I calculate (dynamically) the Height for the right table rows? It will certainly have to be something like <Plotarea.Heigth>/<Series.Count> but with what offsets?

Is it better to use a Table or try to manually set Textblocks on the report? In that case - what would be the best way to calculate the textblocks positions?

TiA

Markus

Elian
Telerik team
 answered on 16 Feb 2012
8 answers
795 views
Dear,

I have been evaluating Telerik Reporting for one of the my clients. I have developed a report with drill down and i faced following problem.

Actually there is grouping on one Database field and under that field a group exists only for column labels. On Parent group footer's Action I toggle the visibility of detail section,Parent group header section, and label group header section which are initially invisible. This drill down works fine in report designer preview. In web page viewer expension of headers and detail sections works fine but when i want to collapse these back by clicking minus sign I was given following error

 

Server Error in '/WebViewer' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index] System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) +64 System.ThrowHelper.ThrowArgumentOutOfRangeException() +15 System.Collections.Generic.List`1.get_Item(Int32 index) +7499588 Telerik.ReportViewer.WebForms.StreamManager.GetStreamInfo(Int32 pageIndex) +41 Telerik.ReportViewer.WebForms.ReportPageOperation.WriteHtmlPage(StreamManager streamManager, Int32 pageIndex) +44 Telerik.ReportViewer.WebForms.ReportPageOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, Hashtable renderingContext) +615 Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride() +286 Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +150 Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager) +68 Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context) +241 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 






Please help me.

Regards
Steve
Telerik team
 answered on 16 Feb 2012
13 answers
260 views
Dear Sir,

Thanks a lot for your help. Now We are in need of some methodology for putting the 'brought forward' and 'carried over' in the reports page front and bottom respectively if the records under a group extend a page. How is it possible to achieve this?
For example,

page 1
Group 1  --

1                        15  
2                        10
3                        25

carried over        50
.................................................
page 2
group 1 -

brought forward -- 50

4      ....            10
... and so on.

reply as soon as possible.,

By Suriya

Steve
Telerik team
 answered on 16 Feb 2012
1 answer
97 views
It seems that the IFF evaluate everything in the (), regardless of the if results, and then returns the appropriate ones. This is causing an issue with this:

= IIf(Fields.Calls =0,0,Fields.Sub_Calls/Fields.Calls)*100


If Fields.Calls = 0, the expression errors with "division by zero"

shouldn't the expression ignore that and just return 0?

Thank you!
Steve
Telerik team
 answered on 16 Feb 2012
1 answer
175 views
Hi Team,

Can you please confirm if Telerik Report support HTML table (<table><tr><td>.....) and Background color.

Regards
Abdul.
Steve
Telerik team
 answered on 16 Feb 2012
1 answer
400 views

Hi,

I want to display content in the table format ..

I have placed a table from the report item and put in the detail section of the report and
designed using objectdatasource.I treated this report as a dll and use it in my asp.net application.
So I have find out the table control using "Finnd" method .I got the tbal control.
after I assined my datatable to the table datasource ,but no data displayed.
How to generate table formatted report ?I have gone through the telerik documentation of reportite table.

my code is given below .

Report9 objreport9 = new Report9();

 

 

Telerik.Reporting.Table tbl = (Telerik.Reporting.Table)objreport9.Items.Find("table1", true)[0];

 

 

 

tbl.DataSource = dt1 ;//dt1 is the datatable object which contains data
rptViewer.Report=objreport9  // rptViewer is the reportviewer control .


but no data displayed in the reportviewer.

1)So could anyone please give me the code for my scenario? (table display content).this is an urgent requirement.
2) also I need code for data display in the list report item.

Thanks,
Sindu.

Steve
Telerik team
 answered on 16 Feb 2012
2 answers
1.5K+ views
Hi guys I have the next problem, I'm working with telerik reporting tool and I have some textboxes that shows some values from database, is it possible to change this values to uppercase if they are shown in lowercase? I mean if a text box shows "cristian" change it to "CRISTIAN"
I've tried the next in my Report1.designer.cs file

this.textBox1.Value = "Nombre del niño(a):{Fields.fcNomMenor+\" \"+ Fields.fcPatMenor+\" \"+ Fields.fcMatMen" + 
                "or}".ToUpper(); 
    
and 
    
    
 this.textBox1.Value.ToUpper( = "Nombre del niño(a):{Fields.fcNomMenor+\" \"+ Fields.fcPatMenor+\" \"+ Fields.fcMatMen" + 
                "or}");
But nothing seems to work.
Hope your help.
Steve
Telerik team
 answered on 16 Feb 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?