I currently have a set of radio buttons (asp:ListItems) that have a default background color of red. When a radio button is pressed by the user, the background color of the radio button changes to green. However, the page also refreshes every time a radio button is pressed. In short, the problem is I would like to toggle the background color to change when a radio button is selected but disable the auto page refresh.

Some things I have tried are... A) Set autopostback = 'False' => Result: The background color does not change to green and the page does not
refresh. B) Set EnablePartialRendering = 'False' => Result: The page does not load the first introductory panel that leads to the panel with the list of radio buttons.

Given that the radio buttons are asp:listItems, I am having trouble toggling the background color to change without refreshing the whole page.

Related posts

Recent Viewed