datagrid/checkbox raise onCheckedChange event

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top