I am binding my dropdownlist to an objectdatasource which returns a collection 'Player' objects. A 'Player' object has 'FirstName', 'MiddleName', and 'LastName' properties, but also has a lazy-load 'FullName' property. I cannot specify 'FullName' as the DataTextField property because it isn't available when the objectdatasource passes the object to the dropdownlist.
So, I figured there must be an event in the dropdownlist which allows you to examine each item being bound; here I could concatenate the 'FirstName', 'MiddleName', and 'LastName' properties and set this 'Full Name' as the Text property of each item being bound in the dropdownlist. However, there is no 'item'databound event for dropdownlist and apparently there is nothing to bind to in the DataBound property (the e argument in the event is basically empty).
I really don't feel like modifying my Player object for this one case, is there any way to modify the dropdownlist items as they're being bound?