title: GridView bound with Properties of nested class
body: <p>I have an object map similar to what's listed below. When I try to bind the properties of NestedClass in a GridView I get the error:</p>
  
  <blockquote>
    <p>"A field or property with the name 'NestedClass.Name' was not found on the selected data source."</p>
  </blockquote>
  
  <p>The GridView is bound to an ObjectDataSource and the ObjectDataSource is bound to a fully populated instance of BoundClass.</p>
  
  <p>Is there any way around this?</p>
  
  <p>Sample classes:</p>
  
  <pre><code>public class BoundClass
  {
      public string Name { get; set; }
      public NestedClass NestedClass { get; set; }
  }
  
  public class NestedClass
  {
      public string Name { get; set; }
  }
  </code></pre>