Reputation: 6273
I have a ListView in ASP.NET where one column consists checkBoxes. I want the user to be able to these CheckBoxes directly in the list (without having to go into edit mode). How I do that, I have received answers in this question
The problem is when the user quickly press several CheckBoxes. It is only the first checkBox that is stored in the database, the other is restored. The user must for every checkBox, wait for the page updated. Is it posible to solve so that the changes are written to the database asynchronously?
Upvotes: 2
Views: 303
Reputation: 22086
You can use UpdatePanel
to write to the database asynchronously and set Trigger
to CheckedChanged
event
Upvotes: 1
Reputation: 2234
You should make Ajax request using JavaScript on checkbox state change
Upvotes: 3