G
Guest
I have what I'm hoping doesn't turn into a very big problem.
We have a set of value objects which all inherit from a base value object
which contains functionality common to all of the objects. We have
implemented some custom DataSourceObjects which return lists of these value
objects.
The problem I'm running into is I can't bind to any of the common properties
of the ancestor object. Nor can I even eval against them. Is there someway
to reference the inherited properties of my value object in an Eval()
statement? I tried Eval("base.valueState") and Eval("valueState") but always
get the same error that the member doesn't exist.
I hope someone has had experience with this, it would be difficult to
refactor these value objects.
Thanks,
Matt Bell
We have a set of value objects which all inherit from a base value object
which contains functionality common to all of the objects. We have
implemented some custom DataSourceObjects which return lists of these value
objects.
The problem I'm running into is I can't bind to any of the common properties
of the ancestor object. Nor can I even eval against them. Is there someway
to reference the inherited properties of my value object in an Eval()
statement? I tried Eval("base.valueState") and Eval("valueState") but always
get the same error that the member doesn't exist.
I hope someone has had experience with this, it would be difficult to
refactor these value objects.
Thanks,
Matt Bell