RadioButtonList And Postbacks

  • Thread starter Thread starter TheStripe
  • Start date Start date
T

TheStripe

Has anyone had this issue?

When you try and build up a radiobuttonlist from code behind and add it to
the page, on postback the first item is always selected
Regardless if you programmatically set the selected item to another listitem
in the group?


Thanks,
Robert
 
Robert, I've not had this problem. I'd guess it's the timing of where you're
adding the control and when you're trapping the events. One question: are you
adding the radiobuttonlist itself dynamically? If so, are you recreating it
after each postback (you'd need to)? A code sample might help.

Bill
 
Back
Top