8 Answers, 1 is accepted
Check the following forum thread for more info on your inquiry: Field position from database.
Kind regards,
Steve
the Telerik team

thanks but I have tryed this but get the following error:
= location(Fields.LogoPosition) cannot be parsed as a unit because it does not contain numeric values. examples of valid unit strings are 1pt and .5in.
It is a PictureBox I am trying to set the position on.
Thangs again
Wayne


public
static Telerik.Reporting.Drawing.Unit location(double pos)
{
return new Telerik.Reporting.Drawing.Unit(new Telerik.Reporting.Drawing.Unit(pos, Telerik.Reporting.Drawing.UnitType.Cm),
new Telerik.Reporting.Drawing.Unit(pos, Telerik.Reporting.Drawing.UnitType.Cm));
}
Thanks again for the help
Kind regards
Wayne


I've change the function to the following:
public static Telerik.Reporting.Drawing.PointU location(double pos)
{
return new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(pos, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(pos, Telerik.Reporting.Drawing.UnitType.Cm));
}
but I now get the same error as in post from yesterday:
= location(Fields.LogoPosition) cannot be parsed as a unit because it does not contain numeric values. examples of valid unit strings are 1pt and .5in.
Can you let me know why it is still not working.
Thanks again
Kind regards
Wayne

See: http://www.telerik.com/help/reporting/expressions-bindings.html

Kind regards
Wayne