If the PictureBox Value
property is a string, then this PictureBox is bound to a column from the data source and the value should be a data binding expression, such as "=ProductPhoto", and not a file name.
The other object that the Value
property accepts is a System.Drawing.Image, so you will either have to create a Bitmap object manually from your file and assign it:myReport.mypic.Value = Bitmap.FromFile("C:\\temp\\picture.jpeg");
Or use the report designer and click on the Value property then choose a file form the file system. This will embed the image in the report's .resx file and bind it to the PictureBox Value property automatically in the InitializeComponent method.
We hope this helps.
the Telerik team