Hi.
I have page that amongst other things has 2 distinct updatePanels, both set as conditional.
The first updatePanel has 2 distinct panels, one that has a repeater inside, and another that has just has text inside.
The second updatePanel has a checkboxlist, and a button.
The repeater inside the first UP has a list of items that can be moved to the checkboxlist on the other UP, or simply removed, while the checkboxlist has a list of items, tan can be added to the repeater upon checking them and then pressing the button.
The items that populate the repeater are stored on a datatable in session, since they need to be available to other parts or the page that are not relevant for this issue.
While removing and moving the items from one list to the other works ok while there are items on the repeater, once the user removes the last item from the repeater, the panel containing the repeater gets hidden and the other panel with the text is shown stating that there are no items to be shown. At this point the problem arises. If the user tries to add an item(s) from the checkboxlist at this point, a new datatable is created with the items added, and correctly updates all the other page items that recur to this datatable in session, but the status changing required for the panels does not respond as it should, since upon adding items to the empty repeater, i instruct the panel containing the repeater to become visible again, and turn invisible the panel with text, only this does not occur. I call the UP.Update() method but it has no effect. I even used the ExceptionUtility to write to a log file the status of the panels, and before changing, after changing, and after calling the UP.Update, they always remain the same as they were before, hence not showing the rep and still showing the text.
I know this seems very abstract without code, but the code and markup are a bit difficult to isolate.
Can someone provide me with any hints on why this is happening?