Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RadioButtonList Does not maintain State
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
RadioButtonList Does not maintain State
Miscellaneous
Thread ID:
00946741
Message ID:
00946741
Views:
82
I have a web page that consists of several User Controls. Each of these have controls that require being bound to a DataSet.

I also have two radiobuttonlists that are not bound to any data and are set at design time to a specific selection. Autopostback is set to false on the radionbuttonlists since nothing is to occur when a user is selecting one or another value. I don't want a postback which is usually the case with radio button groups. (I'm not sure why 90% of the examples describe responding to radio button click events when that is not standard behavior for a radio button group in web or winform application. Typically, they are there to set logic to be acted upon later.)

Anyway, on a postback, the two radiobuttonlists on this page always revert to the design time selections. This does not happen on pages that do not host user controls with bound controls in them.

How do I stop the radiobuttonlists from changing on a postback? Under no circumstances should the radionbutton selections change other than through user interaction.

Please, this is extremely irritating.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Next
Reply
Map
View

Click here to load this message in the networking platform