or
'PictureBox1
Me.PictureBox1.Location = New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Cm), New
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(13.500100135803223, Telerik.Reporting.Drawing.UnitType.Cm), New
Me.PictureBox1. ??????
Private
PictureBox1 As Telerik.Reporting.PictureBox
at the ??? there is no Itemdatabinding available
I use picturebox 4.0.10.423
The sample you provided works without any problem. But above code us used in a separate class and causes problems
Please help,
Mart
Public Class SalesReport Inherits Telerik.Reporting.Report Public Sub New() InitializeComponent() End Sub Public Sub AddDataSourceParameter(ByVal sParameterNaam As String, ByVal tDBType As System.Data.DbType, ByVal oValue As Object) Me.SqlDataSource1.Parameters.Add(sParameterNaam, tDBType, oValue) End SubEnd ClassSub ExportToBrowser(ByVal reportToExport As Telerik.Reporting.Report) Dim reportProcessor As New ReportProcessor() Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportToExport, Nothing) Dim fileName As String = result.DocumentName + ".pdf" Response.Clear() Response.ContentType = result.MimeType Response.Cache.SetCacheability(HttpCacheability.Private) Response.Expires = -1 Response.Buffer = True Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", fileName)) Response.BinaryWrite(result.DocumentBytes) Response.End() End SubDim report As Telerik.Reporting.Report = New ReportLib.SalesReportDim report As ReportLib.SalesReport = New ReportLib.SalesReport