RadioButtonList And Postbacks

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
 
G

Guest

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
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top