Author: bsaucer1 | Posted on: 3/10/2009 6:30:37 AM | Views : 300

I have a checkbox inside a repeater inside an updatepanel. I also have an event handler for the "CheckChanged" event. Whenever the Databind method is called on the repeater, the repeater gets populated with checkboxes, with some of them checked and some of them unchecked, depending on the data.

When a user clicks on a CheckBox to check or uncheck it, I want the event to fire immediately. The event calls a stored procedure to update the data, and then perform another databind to update all the checkboxes, and then calls the Update method on the UpdatePanel.

I do NOT want the CheckChanged event to be fired when the DataBind is called, or the UpdatePanel is updated, or when the code changes the state of a checkbox. I ONLY wan the event to be fired when the USER clicks on the box.

Is there not a "CLICK" event for the CheckBox?

By the way, I have LinkButtons next to the CheckBoxes which provides the actual label text for the C ...

Go to the complete details ...