I am trying to use UpdatePanels, PopupControlExtenders, and a custom control to create a dropdown list of checkboxes. It works for the most part except for 1 odd glitch I cant seem to find a way around.
In order to replicate the glitch you have to perform the following actions in the order below.
- Set A Dropdown to Role2
- Set B Dropdown to Role2
- Invert all A Authorities (Uncheck checked items and check unchecked items)
- Set B Dropdown to Role1
- View A Authorities (The items we unchecked in step 3 have become checked again)
For whatever reason unchecking the Authorities in step 3 has no effect but checking them does? I looked into getting the correct values from Request.Params but it doesnt look like that is giving me what I want. The glitch will only happen if you perform the steps in that order if you switch steps 2 and 3 it works fine.