I wonder if it is possible to add or attach or extend the asp.net checkbox in a way to add OnCommand , CommandName, CommandArgument functionality.
In brief I want to add to a asp. net CheckBox the OnCommand functionality like Button or LinkButton has.
I want to place a check box in a Repeater ItemTemplate and want to handle on checkbox clicks in OnItemCommand handler.
I solved my problem using a simple trick. I created a web user control using a checkbox and invisible link button.
in the code behind i added some event handlers …
and programmatically raised a Click event with parameters and it works.