Anyone know how to correctly handle situation where a TextBox element is populated with foreign key value but that value is null for some records. By default this returns "object-reference-not-set-to-an-instance-of-an-object", with no apparent method to handle this through the object properties. This is not a problem when displaying same data in data grid. I am simply creating a template to display some additional fields for a given record when the row is expanded.
If it’s a Fk then the control should be numeric.
Assuming that’s not your problem then try
Perfect! Thanks for your guidance on this.