Telerik Forums
Reporting Forum
1 answer
156 views
Hi, 

struggling to get a textbox expression to work, can anyone point me in the right direction?

Getting: #ERROR# Unable to cast object of type 'BinaryFunc' to type 'UnaryFunc'.

From expression = ((Fields.Total - Fields.Included) / Fields.Total) * 100

Thanks
Mac
Svetoslav
Telerik team
 answered on 24 Apr 2008
1 answer
253 views
Hi there

I'm evaluting Telerik Reporting for use with a number of different. The first need I have it is to produce PDF's of documents. After the header, I have a detail section with a few fields and then the main body textbox. The content of the main textbox comes from a single field and can run to 4 or more pages. When the textbox splits between pages the line of text can be split in half. The top half of the line appears on one page and the bottom half appears on the next page.

Does anyone know how to solve this?

Apologies if someone has already asked this question - I have searched the forums, articles, etc but maybe I'm just struggling to describe the problem!

All the best

Ian Goodwin
Svetoslav
Telerik team
 answered on 24 Apr 2008
1 answer
121 views
Hi

When I display my report in the designer preview mode it is blank.

I was execting see at least the headings that automatically genereated.

Kind Regards

David
Steve
Telerik team
 answered on 24 Apr 2008
1 answer
318 views
Hi,

I am using Telerik Reporting V2.5 trial.
Working environment - XP, VS.Net 2005 and SQL Server 2005, IE 7.
I have created one report using Report Designer, which use one sql view to design the fields and an image (SQL server data type = image).
I am able to see the report in design time from HTML Preview, but in run time it is throwing "Overflow error".

Please let me know where i am going wrong.... :(

Thanks
Pushpal
Steve
Telerik team
 answered on 23 Apr 2008
1 answer
354 views
I have a report that is a multi-page report. By multi page I mean that each page contains different type of content so I am using the trick of using group headers with page break set before/after to simulate a multi page report.

This has worked fine so far except that now I need one of the pages to contain mailing labels. The way I've done mailing labels in the past, and the way the new label wizard does labels, is to set the detail size to the size of the label and then use the number of columns to duplicate the label for the page.

The problem with this approach for a multi page report is that I can't change the detail of just one page (at least I don't think I can). In this case, am I stuck basically having to lay out the labels for the page (I need only exactly one page of labels for this report) with textboxes and just populate each textbox probably with a loop in the report code behind?
Ivan
Telerik team
 answered on 23 Apr 2008
1 answer
171 views
Is it not possible to convert reports created with CR XI release 2? When I select Crystal Report 11, from the list in the report wizard the next button is grayed out I am assuming this is becauase I am CR XI release 2 installed, and not just CR XI.

I am working with Reporting Q1 2008 and VS 2008.
Milen | Product Manager @DX
Telerik team
 answered on 22 Apr 2008
11 answers
437 views
I have one particular report that, when I export to excel generates the following exception:

Attempting to get range {35,33}{1,4},Merged=False,Parent=Sheet1[0], that intersects with an already merged range.

Chavdar
Telerik team
 answered on 21 Apr 2008
2 answers
539 views
Hi,

I am having problem with conditional formatting feature of telerik reporting for windows application.

(.net framework 2.0 language visual basic 8 and operating system windows xp pro)

I am comparing a datafield and a variable date value and based on that it should filter backcolor of particular textbox which is placed dynamically in detail section of the report.

'FormattingRule1.Filters.AddRange(New Telerik.Reporting.Data.Filter() {New Telerik.Reporting.Data.Filter("=CDate(Fields.S001)", CType(Telerik.Reporting.Data.FilterOperator.GreaterThan, Telerik.Reporting.Data.FilterOperator), "=CDate(""00:07:49"")")})

This is hardcodead things which works fine but if i write these code (below), it throws me an error "Object reference not set to an instance of an object."

Here tItem is a dynamic telerik's reporting textbox
dt.Columns(i).ColumnName is a particular ColumnName which has datetime value and datatype is varchar

    Dim FormattingRule1 As Telerik.Reporting.Drawing.FormattingRule = New Telerik.Reporting.Drawing.FormattingRule
               
    FormattingRule1.Filters.AddRange(New Telerik.Reporting.Data.Filter() {New Telerik.Reporting.Data.Filter("=CDate(""" + averageTime + """)", CType(Telerik.Reporting.Data.FilterOperator.GreaterOrEqual, Telerik.Reporting.Data.FilterOperator), "=CDate(Fields." + dt.Columns(i).ColumnName + ")")})
   
    FormattingRule1.Style.BackgroundColor = System.Drawing.Color.Chocolate
   
    tItem.ConditionalFormatting.AddRange(New Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})

In short if i replace dt.Columns(i).ColumnName with hardcoaded column name like =CDate(Fields.S001) is not throwing me any error.

It should not be like this.

Help me out.

Thanks
Svetoslav
Telerik team
 answered on 21 Apr 2008
1 answer
109 views
I have a report with 2 groups I am using the following to get the data from a stored procedure.

sqlSelectCommand1

.CommandText = "Exec GetStorsPayroll " + _storeid.ToString() + " , '" + strtdte.ToString() + "' , '" + enddte.AddDays(1).ToString() + "'";

sqlSelectCommand1.Connection = sqlConnection1;

sqlDataAdapter1.SelectCommand = sqlSelectCommand1;

this.DataSource = sqlDataAdapter1;

which returns the data in order of last name then first name. But when the report is displayed it is shows the data in order of the empID group. Is there a way to correct this?

Svetoslav
Telerik team
 answered on 21 Apr 2008
1 answer
85 views
Just a quick question.
I ve been working with rad controls prometheus 2007 q3 and recently we purchased a dev lisence before implementation.
I've downloaded from my licences the RadControls_Q3_2007_SP2_dev_hotfix.zip but I can't find in there the telerik.web.ui.dll which I was working with. do I have to install the individual dll's for each control that i am using?

Any ideas?
Thanks in advance,
Dimitris
Paul
Telerik team
 answered on 21 Apr 2008
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?