D
David Ching
Hello, I have a DetailsView with a <asp:checkboxfield> in it. Here's the
abbreviated definition:
<aspetailsView runat="server" id="DetailsView1"
OnItemCommand="DetailsView1_OnItemCommand">
<Fields>
<asp:checkboxfield DataField="Contractor1099"
SortExpression="Contractor1099" HeaderText="Independent">
</asp:checkboxfield>
</Fields>
I want to get notified when the user clicks the checkbox so that I can
show/hide other fields in the DetailsView. But there seems no notification
of this! The <asp:checkboxfield> does not have an OnClick event (unlike an
<asp:checkbox>), and the DetailsView's OnItemCommand() is not called when
the checkbox field is clicked.
Please help.
Thanks,
David
Visual C++ MVP (and feeling totally lost in ASP.NET)
abbreviated definition:
<aspetailsView runat="server" id="DetailsView1"
OnItemCommand="DetailsView1_OnItemCommand">
<Fields>
<asp:checkboxfield DataField="Contractor1099"
SortExpression="Contractor1099" HeaderText="Independent">
</asp:checkboxfield>
</Fields>
I want to get notified when the user clicks the checkbox so that I can
show/hide other fields in the DetailsView. But there seems no notification
of this! The <asp:checkboxfield> does not have an OnClick event (unlike an
<asp:checkbox>), and the DetailsView's OnItemCommand() is not called when
the checkbox field is clicked.
Please help.
Thanks,
David
Visual C++ MVP (and feeling totally lost in ASP.NET)