G
G
I'm still a newbie not only with .NET, but also with the whole concept of
postbacks and states.
I have a checkbox list with 5 items, all initialized as selected. I have a
button that when clicked, disabled the entire checkbox list. When the very
same button is clicked a second time, the checkbox list is re-enabled.
However, when it is re-enabled, the items all lose their checkmarks.
Can someone in laymen's terms tell me if this is expected behavior? And if
so, how I can maintain the state of the checkbox list when it is disabled
and re-enabled.
TIA,
Brian
postbacks and states.
I have a checkbox list with 5 items, all initialized as selected. I have a
button that when clicked, disabled the entire checkbox list. When the very
same button is clicked a second time, the checkbox list is re-enabled.
However, when it is re-enabled, the items all lose their checkmarks.
Can someone in laymen's terms tell me if this is expected behavior? And if
so, how I can maintain the state of the checkbox list when it is disabled
and re-enabled.
TIA,
Brian