Hi guys,
I have a table, and one of the columns is it works perfectly when I set the picture value from the data source.
But we have some invalid images, and we want to validate the image in the . So how can I set the image in the or maybe get the image path in the function.
This is my code, tried to fill the TextBox9 with the image path, but not working properly:
Private Sub PictureBox4_ItemDataBinding(sender As Object, e As EventArgs) Handles PictureBox4.ItemDataBinding
Dim picture As Telerik.Reporting.Processing.PictureBox = DirectCast(sender, Telerik.Reporting.Processing.PictureBox)
Dim s As String = String.Format("= '{0}' + {1}", "/portals/0/PI/ProductImages/", TextBox9.Value.Replace("=", ""))
picture.Image = Image.FromFile(s)
TextBox13.Value = s
End Sub
thanks