开发者

Checkboxlist latest checked/unchecked item

开发者 https://www.devze.com 2023-02-16 12:25 出处:网络
I have a need to get the latest checked or unchecked item from a checkboxlist. Basically I need to detect any change in the list and perform some action o开发者_开发问答n that.

I have a need to get the latest checked or unchecked item from a checkboxlist. Basically I need to detect any change in the list and perform some action o开发者_开发问答n that.

I found the solution for latest checked item but couldn't find one for the latest unchecked item.

Is it possible to do that with the checkboxlist or I will have to go with another control?


I know this thread is old...but might as well throw an answer out there. One option is to create a datatable for the selected items in the CheckBoxList(CBL) on databind, scrub that table against the selected items in the CBL, and find the difference.

0

精彩评论

暂无评论...
验证码 换一张
取 消