I have problem with coding a user control to use with smartpart with ajax.
In the user control I have a textboxes, two buttons and a checkbox list.
First button retriews the documents in a document library and fills in the
checkbox list.
After selecting some of the elements buuton2 does something on the selected
items.
This is the scenario that i planned.
But the first part works OK. I fill in the checkboxlist. When I select some and
click on the
Second button checkboxlist is emtied and nothing done.
To prevent this i tried turning on autosubmit of checkboxlist and putting the
items on the session variable.
But this didn't work. It seems like when I update or set a variable in a
function, I can only use session variable
inside that function and nowhere else which shouldn't be the case
Any idea on how to proceed?