RadioButtonList.SelectedIndex vs RadioButtonList.SelectedValue
- by Pinpin
Out of curiosity, anyone knows the particulars of the internal implementation of
ListControl.SelectedIndex = (int) <new valueIndex>
VS
ListControl.SelectedValue = <new value>.ToString()
I'm having difficulties with a custom validation object we've built here to process all validation in one sweep. I suspect using <SelectedValue = > will raise a SelectedIndexChanged event, even though both the value and index remain the same, both before and after the operation.
(The ListControl's values are populated declaratively....)
As ever, thank you for your time!