Author: Tualatin | Posted on: 1/24/2010 2:38:14 PM | Views : 273

Hi Folks,
I have a two web forms with griviews that are bound to SQL through the same query in a class.  Both have the same columns and footers.  Both have a checkbox control in each grid row.  The checkboxes on each form have OnCheckChanged event handlers that I put in the code behind.  In fact, the html code is almost the same on both forms, and the OnCheckChanged code is exactly the same except for the fact that I have named them differently. AutoPostBack is true for both checkbox controls in the gridviews.
One works, the other doesn't.
The difference between the two is that the gridview row checkboxes that don't work are burried in a MultiView.  Could that be why the codebehind event handler doesn't fire?
Here is the html for the column:
<asp:TemplateField HeaderText="Pay" ItemStyle-HorizontalAlign="Center"> ...

Go to the complete details ...