I have an object similar to what's listed below. When I try to access the properties of the nested business object, I get the error:
A field or property with the name 'Prop2.Property1' was not found on the selected data source.
The gridview is bound to an objectdatasource if that is important.
Is there any way around this?
Sample class:
public class Object1
{
public string Prop1 { get; set; }
public Object2 Prop2 { get; set; }
}