DropDownList selectedValue not changing display
Posted
by MemphisDeveloper
on Stack Overflow
See other posts from Stack Overflow
or by MemphisDeveloper
Published on 2010-04-22T19:06:07Z
Indexed on
2010/04/22
19:13 UTC
Read the original article
Hit count: 240
I have a list of controls that I change based on an event. The controls are contained within a table that is created dynamically. I traverse through a set of controls and if it is a RadioButtonList or a DropDownList I do the following:
CType(cntrl, ListControl).SelectedValue = val
The radio buttons set just fine but the dropdown list doesn't reset. Can anyone tell me why. The initial table is created on the first Page Load and stored in memory. It's values are changed during the eventhandling and reposted to a MasterPage's content holder.
© Stack Overflow or respective owner