Hi,
I have a user function bound to my report to position the PictureBox.
public static PointU Location(int _position)
{
double position = _position;
return new PointU(new Telerik.Reporting.Drawing.Unit(position, UnitType.Pixel), new Telerik.Reporting.Drawing.Unit(65, UnitType.Pixel));
}
The problem I am continually having is that sometimes this works and sometimes it does not! I get the error in the report that the function ‘Location’ cannot be found in red where the Logo - PictureBox should be.
When I print the report, the first two attempts I get the error but on the third attempt it works correctly!! Could there be a problem when loading the image, the report is trying to display it before it is fully uploaded ?
The picture value I bind to the Uri read out of a database. Sometimes this also does not work and sometimes it does, message cannot find or locate picture.
If you can advise me why this is so, so I can correct it that would be grate.
Thanks very much
Wayne