BUG in "GetPropertyDescriptor"

BUG in "GetPropertyDescriptor"

Old forum URL: forums.lhotka.net/forums/t/3648.aspx


ben posted on Friday, October 05, 2007

Rocky, I think that the method “GetPropertyDescriptor” in “BusinessListBase” and “EditableRootListBase” should use:

 

mPropertyDescriptors = TypeDescriptor.GetProperties(GetType(T))

 

Instead of

 

mPropertyDescriptors = TypeDescriptor.GetProperties(Me.GetType())

 

The relevant properties are in the child items, not in the collection object.

 

Benjamin

Copyright (c) Marimer LLC