Is it possible to set a DataKeyNames property in a gridview/listview to a subclassed property?
For example if I have a Product business object that has a Category object as a property...
DataKeyNames="ProductID, Category.ID"
doesn't seem to work. ProductID alone works fine. A hidden field with #Eval("Code.CodeName") works but DataKeyNames should as well!