G
Guest
I have a problem with the Listbox Web control in C#. It works fine in VB but in C#, the .Selected property always returns false for some reason. I have the Listbox Selectionmode set to Multiple. Can anyone tell me why? This is in Visual Studio.NET 2002
Code
foreach ( ListItem oItem in lstPeriods.Items
if ( oItem.Selected == true ) // This always returns false
Code
foreach ( ListItem oItem in lstPeriods.Items
if ( oItem.Selected == true ) // This always returns false