Author: SkyExplorer | Posted on: 2/26/2010 11:16:19 AM | Views : 377

Hi,
I've got a class that implements IListSource and returns a generic List of ListItem objects (List<ListItem>). in this list one of the ListItems has the Selected attribute set to true.
On the web page I have a standard asp:dropdownlist and I set it's datasource to the getList method of my class and databind it. 
The problem is that the databind seems to loose the selected Item and the first item in the generic list becomes selected.
Any help appreciated.
Cheers
...

Go to the complete details ...