Hello.
I'm having trouble with a report. The data source is a list of objects, each of which I know to have certain public properties. My textboxes are bound to those properties in the usual way (e.g. "=Fields.Name").
I am getting errors in my report indicating that it could not find the properties for those textboxes, in certain cases. When my data source objects directly implement a public property "Name", all is well and I get data in the textbox bound to the property Name. HOWEVER, if my data objects inherit from another class, which has a public property "Name", then I get those nasty red boxes that say "An error has occurred while processing TextBox 'Name': The expression contains object 'Name' that is not defined in the current context".
Am I correct that the TextBox is not seeing inherited public properties? If so, is there something I can do so that those inherited public properties will show up in my reports?
Thanks!
I'm having trouble with a report. The data source is a list of objects, each of which I know to have certain public properties. My textboxes are bound to those properties in the usual way (e.g. "=Fields.Name").
I am getting errors in my report indicating that it could not find the properties for those textboxes, in certain cases. When my data source objects directly implement a public property "Name", all is well and I get data in the textbox bound to the property Name. HOWEVER, if my data objects inherit from another class, which has a public property "Name", then I get those nasty red boxes that say "An error has occurred while processing TextBox 'Name': The expression contains object 'Name' that is not defined in the current context".
Am I correct that the TextBox is not seeing inherited public properties? If so, is there something I can do so that those inherited public properties will show up in my reports?
Thanks!