dynamic radiobuttonlist needs 2 postbacks to update selectedindex

M

mcheng2

Dynamically added RadioButtonList with AutoPostBack = true. On the
first postback, SelectedIndex is not updated.

For example:
SelectedIndex starts at -1.
Click Radio #1, SelectedIndex = -1.
Click Radio #2, SelectedIndex = 0.
Refresh page, SelectedIndex = 1.

I've set the ID of the dynamic RadioButtonList control. Any ideas?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top