General information
Category:
The Mere Mortals .NET Framework
Title:
AddBlankEntry of dropdownlist duplicates data
Environment versions
Network:
Windows 2008 Server
I noticed when I set the AddBlankEntry property to true and bind my business object to the control all the data in the dropdownlist control is duplicated. For instance if I have 3 items in the dropdownlist with the AddBlankEntry set to true I get 6 items. When I set it to false, then the data looks fine. I stepped through the code and the business object does have the correct number of elements, so it appears that the dropdowlist is reading the data into the dropdownlist fromt he business object twice.
I would like to have the blank entry in the dropdownlist. Does anyone know of a fix or a work around?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only