It's been a while since I've been using ASP.NET, so I'm a bit rusty - but I've got a really infuriating problem that seems like it should be really straightforward and I can't get my head around it.
I have an object data source linked to a generic list of objects that have a Name and Source property. This is working fine:
<asp:ObjectDataSource runat="server"
ID="odsNewsSources"
SelectMethod="DataSources"
TypeName="HCR.Portal.NewsDataSource" />
Then I have a dropdown list that uses this data source:
<asp:DropDownList runat="server"
ID="ddlDataSource"
DataSourceID="odsNewsSources"
DataTextField="Name"
DataValueFied="Source"
...
Go to the complete details ...