Hi to everybody,
I’ve used “UserData” to pass a value from client side to server side.
I want to remove the “UserData” value after the data are stored in database.
This is my client side code :
data.mydata="abc";
and this is the code in server-side to retrieve the value:
If e.DataAction.UserData.ContainsKey("mydata") Then
dim mydata as String = e.DataAction.UserData("mydata")
end if
finally to remove the key I use
e.DataAction.UserData.Remove("mydata")
at the end of “AfterProcessing” method but seems don’t works.
How can I do ?
Any help is appreciate.
Thanks,
Lorenzo