Need ASP.NET ListView to fire SelectedIndex events
Posted on 2009-05-06
I have a ListView that is DataBound in the Code Behind (any language). The first 'column' is a RadioButton. I'm able to handle the CheckedChange so that the first column performs like a RadioButtonList, BUT, in that event changing the SelectedIndex of the ListView only works on the initial page load.
My ultimate goal is to have the SelectedIndex be correct when the RadioButton is checked/changed, but the only way I can get the ListView's OnSelectedIndexChanged event to fire is to add a LinkButton and set the CommandName.
I'm up against a deadline today and am turning here as a last resort. I'll be 'closing' this question before the COB EST today - as I'll either be unemployed or finished. If I finish, I'll surely post my solution.
Expert help is always appreciated!