Telerik Forums
Reporting Forum
1 answer
156 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
859 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
291 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
129 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
193 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
424 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.6K+ 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
1 answer
115 views
Please disregard my message, I have solved the problem in some other way.
Hadib Ahmabi
Top achievements
Rank 1
 answered on 15 Feb 2012
4 answers
214 views
We are evaluating Telerik Reporting for use in a web application that will run on a shared host.  This project requires us to email specific reports to users at specific times during the day.

Is there any functionality available in Telerik Reporting to manage automated generation and devlivery of reports according to a schedule?
Steve
Telerik team
 answered on 15 Feb 2012
2 answers
727 views
Hi,

I'm wonder how to merge a column cells of a Table.
Please view the attached screen-shot in order to get a best understanding of the requirements.

The crosstab control doesn't meet my requirements, so I need to implement the idea only using the Table control.

Please, I need your help,

Regards,
Bader

Bader
Top achievements
Rank 1
 answered on 15 Feb 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?