Hello,
i'm trying to initialize a picturebox by passing the image url using a parameter but it won't work.
as i can notice the parameter will be empty if i read it from the Main method of the report.
how can i get it work?
thanks
1 Answer, 1 is accepted
0
IvanY
Telerik team
answered on 01 Apr 2013, 10:28 AM
Hello Kassem,
It seems that you are setting the PictureBox using code. A much easier and maintainable approach would be to use a simple expression as value of the PictureBox, like this:
= Parameters.Parameter1.Value
In case you need to do that in code you will have to use ItemDataBinding event and get the processing parameter which will have a value. If you do it earlier in the lifecycle of the report the parameter will have no value (or the default value).
Greetings,
IvanY
the Telerik team
Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.