views:

33

answers:

1

I have radiobuttonlist that i have set to autopostback, but when a user clicks a button, there is no postback.

Any suggestions?

+1  A: 

I assume by "when a user clicks a button" you mean when a user clicks one of the radio button options. Without seeing any code, two common scenarios would be:

  1. A script error is occurring that is preventing the postback (script errors can be detected in IE or via Firefox and the Firebug extension as two diagnostic options)
  2. UpdatePanels are involved, and you are attempting to use the AutoPostBack to refresh an UpdatePanel

If it is the latter scenario and you are using UpdatePanels, try putting the RadioButtonList inside its own UpdatePanel, with AutoPostBack set to true on the RadioButtonList and the UpdateMode on the UpdatePanel set to "Always" (the default value).

Nathan Donze