Dear all,
Please help me on this.
I have couple of radioButtonList and CheckboxList in the Web form. Also, I have save button and showRecords button. Once the user pressed the 'showRecords' it is showing the records correctly. The Selected items of the radioButtonList and CheckboxList are
populated correctly from the database. Now, user should be able to Deselect the items and choose different items in both RadioButtons and CheckBoxes. This is not working for me. Eventhough user did not select any items and trying to save without anything selected,
It is still showing values on the SelectedItem property. Why it is still showing the earlier entries even though the user deselected them?
I want user to Select/deselect the values and save them back and forth. But they are not refreshing and still showing earlier values. How do I manage this?
Below is my code:
if (radiobuttonlist.SelectedItem != null)
{
SaveEntries(); //Cal ...
Go to the complete details ...