Telerik Forums
Reporting Forum
1 answer
109 views
I'm creating a PDF in C# from an existing report that works in the designer and preview, however when trying to exported to PDF I get a simple PDF with this error message inside:
An error has occured while processing Report '':
Exception has been thrown by the target of an invocation.

The only thing in that report is an image!

Telerik.Reporting.

ReportBook masterReport = new Telerik.Reporting.ReportBook();

 

 

foreach (string sUrl in MoreUrls)

 

{

NCATReporting.

CreateReport Myreport = new NCATReporting.CreateReport();

 

 

 


// generate the image and binding it does not work?

 

 

WebClient client = new WebClient();

 

 

MemoryStream MemStream = new MemoryStream(client.DownloadData(sUrl));

 

 

Image image = Image.FromStream(MemStream);

 

 

Bitmap imageBitmap = new Bitmap(image);

 

 

Myreport.MapReport.Value = imageBitmap;

 

masterReport.Reports.Add(Myreport);

}

Telerik.Reporting.Processing.

ReportProcessor reportProcessor =

 

 

new Telerik.Reporting.Processing.ReportProcessor();

 

Telerik.Reporting.Processing.

RenderingResult resultPDF = reportProcessor.RenderReport("PDF", masterReport, null);

 

 

Steve
Telerik team
 answered on 22 Mar 2010
17 answers
344 views
I installed Rad Silverlight and Reporting Q1 2010 to VS2010RC, updated all assembly references from Q3/09 to Q1/10, and upon adding SL ReportViewer the designer now throws a XamlParseException:  "The attribute RadComboBox.SelectionBoxItemTemplate is read only and cannot be set."  Any ideas on what I could be doing wrong?

<UserControl xmlns:my="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight" x:Class="Silverlight_Report_Viewer.MainPage" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" 
    d:DesignHeight="300" d:DesignWidth="400">  
 
    <Grid x:Name="LayoutRoot" Background="White">  
        <my:ReportViewer Margin="0,0,0,0" Width="Auto" Height="Auto" Report="Reports.Report1, Reports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ReportServerUri="../ReportService.svc" /> 
    </Grid> 
</UserControl> 

Thanks,
-Brian
Steve Johnson
Top achievements
Rank 1
 answered on 20 Mar 2010
5 answers
226 views
Hi, iv been trying to pass a parameter to the ReportViewer report from my silverlight client. I came across this http://blogs.telerik.com/blogs/posts/09-12-07/programmatic_initialization_of_report_parameter_values_in_telerik_reporting_silverlight_viewer.aspx
but cannot get it to work. Keep getting error 'expects parameter @TenantsID which was not supplied'

I have a parameter in the report called @TenantsID which is an Integer. Below is my code(vb) to replace it.

Public Sub New(ByVal strReportName As StringByVal intReportParam As Integer
        InitializeComponent() 
 
        mstrReportName = strReportName 
        mintReportParam = intReportParam 
         
        AddHandler Me.ReportViewer1.RenderBegin, AddressOf ReportViewer1_RenderBegin 
 
    End Sub 
 
    
    Private Sub ReportViewer1_RenderBegin(ByVal sender As ObjectByVal args As Telerik.ReportViewer.Silverlight.RenderBeginEventArgs) 
         
    args.ParameterValues("@TenantsID") = "2" 
        
 
    End Sub 

Thanks
Steve
Telerik team
 answered on 19 Mar 2010
2 answers
144 views
Hi,

Currently we use Activereports for our reporting and are considering Telerik products.  What I need to know if the individual reports can be set to duplex printing.

Also can 2 reports be merged together to print at once?

Thanks,
Tim
Peter
Telerik team
 answered on 19 Mar 2010
0 answers
86 views
Dear all,

I am using telerik reportviewer for my web application.When i am running my application  on chrome,export dropdown is disable.......
but on internet exp it is working fine....why it is like that.....

Azeheruddin khan
Top achievements
Rank 1
 asked on 19 Mar 2010
3 answers
115 views
I have Q2 2009 reports installed.  I had a request to modify one of the reports and am no longer able to move to design view on any report vb file.

I checked the DPI and it is set to 96dpi.  No update has been done and as far as I know nothing telerik related has been changed.

Any ideas why this is happening?  I created a new report and it too will not go to design view.

Cliff Lane
Peter
Telerik team
 answered on 19 Mar 2010
1 answer
162 views
Hi sir,

I am facing one issue in Q3 2009 telerik reporting tool. My Issue have 1 main report with a single subreport.
The main report contains of header & footer of report while the subreport contain header & detail section for data.
When the data is loaded dynamically in subreport more then page size then the top page is coming blank. I have set the keepTogether property of all detail section to false. On the other side when the data is less  then the page then its coming correctly.

All controls like subreport images located in this report is smaller in width then the main report. I means its not issue of width as i saw in many threads response.


Thank you


Gul Ahmed Masud
Sr. Software Engineer
Datel System & softwares LLC
UAE Dubai
Steve
Telerik team
 answered on 19 Mar 2010
3 answers
233 views
Hi,

I am using telerik report Q2 2009 and using the session mode="Sql Server".
when i opem telerik report it shows error message

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode

Though it works fine with INProc mode of session.
But i have to use session mode="SQL Server".

Please help me to solve this issue.

Thanks,
Hrushikesh
Steve
Telerik team
 answered on 19 Mar 2010
1 answer
102 views
Hello,
I was looking at the Product Line Sales example and wanted to make table with chart at right hand side showing some calculated results for each row data in Telerik.Reporting.Table component. Then I realized that I have to show XML data (coming from xml column).
I dont know how to make Table component show xml data? Can anyone give a veru simplified example here so that I can move forward?
Steve
Telerik team
 answered on 19 Mar 2010
1 answer
168 views
I cant find it in my account manager
Steve
Telerik team
 answered on 19 Mar 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?