Telerik Forums
Reporting Forum
1 answer
171 views
My report is working fine when I run via vs 2010. However when I deploy to the production environment I get the following error "An error has occurred while processing Report '': Object reference not set to an instance of an object.
The ReportViewer controler seems to be working just fine as the above mentioned error is displayed in the controller.
Do I need to specifically deploy the report?

Thanks,

MTmace
Steve
Telerik team
 answered on 09 Oct 2012
1 answer
70 views
I have tried visually and in code.
Why doesn't this work?   thx

    this.tableELECTRIC.DataSource = sqlData;

            this.chartELECTRIC.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Month";
            this.chartELECTRIC.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Navy;
            this.chartELECTRIC.PlotArea.XAxis.Appearance.Width = 3;


            this.chartELECTRIC.PlotArea.YAxis.AxisLabel.TextBlock.Text = "KWH";
            this.chartELECTRIC.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Navy;
            this.chartELECTRIC.PlotArea.YAxis.Appearance.Width = 3;
Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Oct 2012
0 answers
116 views
Has anyone had any experience in rendering a report in a format that can easily be used in the body of an email?  I am attempting to write a process that will generate a custom summary report for various users that would be emailed using System.Net.Mail.  But, I have not found an elegant solution. 
I have tried to export to MHTML but that does not seem to work with System.Net.Mail.  I have also tried to export to HTML but that seems to create multiple files and would take a lot of additional work to merge everything together.
Any ideas would be appreciated.
Robert Schoen
Top achievements
Rank 1
 asked on 08 Oct 2012
5 answers
304 views

I using multi-column in telerik reporting but result not same as my imaging.
I have 1 group (group by username) 
This is result form multi-column reports

Mary Jane              4          2.4         9          2.5
No.       KG.            5          2.6              
1          2.5             6          2.5        
2          2.8             7          2.3         
3          2.3             8          2.7       

But I want report look like this.

Mary Jane
No.       KG.            No.       KG.        No.       KG.        
1          2.5             4          2.4         7          2.3
2          2.8             5          2.6         8          2.7
3          2.3             6          2.5         9          2.5

What should I do?
Steve
Telerik team
 answered on 08 Oct 2012
2 answers
200 views
This sounds so simple, but being relatively new to all this I don't see what I'm doing wrong.

I have several checkboxes on a cover page of my report.  I have the checks appearing just fine, but when I set the FalseValue property, and try and run, I get a big red box of error where the checkbox should be saying: An error has occurred while processing CheckBox 'chkPriorAppr': Invalid image data.
----------------Inner Exception--------------------
Invalid image data
----------------Inner Exception-------------------
Access to the path 'C:\Projects\.......  is denied

All I want to do is remove the showing InderterminateImage when the value is N, and instead show the UnCheckedImage.  The checks show fine btw.
Rich
Top achievements
Rank 1
 answered on 08 Oct 2012
0 answers
124 views
Hi!
The report contains List and inner List
Interactive preview is correct, but print preview is not correct. On the second page lover border is not correct. I'd use docking and anchoring, but its doesn't help.

Also sometimes if the report is long  the report header displays on the first page, but the report detail on the second. I doesn't use Page Break!


Rainford
Top achievements
Rank 1
 asked on 08 Oct 2012
1 answer
105 views
Hi,

I am using Telerik Q3 2010 (Licensed). I have a table in a group header and assigned an objectdatasource to it. I need to validate whether the objectdatasource has some data in it or not. Based on that i need to display the group header. Please suggest how can i catch the objectdatasource in Itemdatabinding event or suggest more appropriate solution to my scenario.

Thanks
Irshad
Elian
Telerik team
 answered on 08 Oct 2012
5 answers
1.2K+ views
I have a requirement where I need to combine two reports into one in order to print both at the same time.  I know Telerik has the new ReportBook feature, but we are not using the version of reports that has this feature.

I tried just creating a new blank report with just the detail section and adding two subreports to it.  I then add just add the two reports as the reportsource for the subreports that are in the new report.

The combined report renders except that the page header section from the each of the two reports that was set as the report source for the combined report does not print.  I need to be able to print everything that is on both reports combined in one report.  Is there some option that will allow the page headers for each report to print when that report is used as a subreport?

Thanks
Chris
Top achievements
Rank 2
 answered on 08 Oct 2012
3 answers
99 views
I'm the first in our development group to try Telerik Reporting and like it a lot.  I've almost completed my first web project and have always found answers in the forums or your other resoruces but this one I cannot figure out.

I have a simple stepped report (best to keep it simple!) with multiple detail records:

Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
...

My boss asked if I would break up the long listing (way longer than the 7 detail records above) into "vertical groups of 5" for better readability so it would look like:

Line 1
Line 2
Line 3
Line 4
Line 5

Line 6
Line 7
...

Basically, I would just add a blank line after every fifth row. 

So, I added one line at the top of the report class:

    Dim RowCount as Integer = 1

...and I added this code into the detail.itemdatabound event:

    RowCount = RowCount + 1
    If RowCount Mod 5 = 0 Then
       Me.detail.Height = New Telerik.Reporting.Drawing.Unit(0.4, Telerik.Reporting.Drawing.UnitType.Inch)
      Else
       Me.detail.Height = New Telerik.Reporting.Drawing.Unit(0.2, Telerik.Reporting.Drawing.UnitType.Inch)
    End If

I was delighted to see it work great in the Report Designer (both Preview and HTML Preview).  I was further delighted to see it work great in my web application "on the screen", however, when you print or export the report the blank lines are lost!

Please help!

I'm using the Q3-2010 Telerik Reporting with Visual Studio 2010.

Thanks,
Steve
Doug
Top achievements
Rank 2
 answered on 06 Oct 2012
3 answers
299 views
 

Posted 19 hours ago (permalink)

Hi,

I have a table with a text field, order notes.  This text field is from a multiline textbox.  There will be \r\n in my data.  The textbox is not expanding vertically when there are new lines.  If there text without line breaks, it expands as expected.  If there are more lines than the row is getting for wrapping, the row is overwriting the space for the rows below it.  It properly shows the new lines while in the space expanded into by other wrapping fields.

I have the CanGrow property set to true.  TextWrapping is also set to true.

How do I get the row to expand vertically to show all of my notes field in one row?

Thank you for your help,

James Trimmier
James
Top achievements
Rank 1
 answered on 05 Oct 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?