P
pierre hourdille
Hello,
in an user control (ascx) I have a datagrid with this template column:
------------------------------------------------------------------
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox id="ckNotificar" runat="server" AutoPostBack="true"
OnCheckedChanged="Check_Clicked" Checked='<%#
container.dataitem("Notificar")%>' Text="Notificar"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
------------------------------------------------------------------
in my VBCode I have declared :
---------------------------------------------------------------
Public Sub Check_Clicked(ByVal sender As Object, ByVal e As
System.EventArgs)
End Sub
----------------------------------------------------------------
I have read a lot of post where it seems to be the good way to do it
but the sub Check_Clicked is not executed when I change a checbox of
the Datagrid.
Do I have forgoten something ?
Pierre Hourdille
in an user control (ascx) I have a datagrid with this template column:
------------------------------------------------------------------
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox id="ckNotificar" runat="server" AutoPostBack="true"
OnCheckedChanged="Check_Clicked" Checked='<%#
container.dataitem("Notificar")%>' Text="Notificar"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
------------------------------------------------------------------
in my VBCode I have declared :
---------------------------------------------------------------
Public Sub Check_Clicked(ByVal sender As Object, ByVal e As
System.EventArgs)
End Sub
----------------------------------------------------------------
I have read a lot of post where it seems to be the good way to do it
but the sub Check_Clicked is not executed when I change a checbox of
the Datagrid.
Do I have forgoten something ?
Pierre Hourdille