Hi,
This is my 1st post... I am using a checkbox in a Datalist. I am trying to display 2nd Checkbox if the 1st checkbox is checked. How do I do it in the code behind to check the "Checkbox1.Checked==True . Please find the aspx page of the file below:
<asp:DataList ID="title_dl" runat="server" DataSourceID="title_dss" DataKeyField="M_CATPAGES_ID" >
<ItemTemplate>
<td><asp:Checkbox ID ="cat_title_chk" AutoPostBack="true" runat="server" Text='<%# Container.DataItem("M_CATPAGES_CAT") %>'></asp:Checkbox> </td>
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="title_dss" runat="server" ConnectionString="Driver={MySQL ODBC 3.51 Driver};DATABASE=laqualite;option=0;pwd=cadt12;port=0;server=10.20.18.50;uid=root" DataSourceMode="DataReader" ProviderName="System.Data.Odbc" SelectCommand="Select M_CATPAGES_ID,M_CATPAGES_CAT from mast_catpages_tbl"></asp:SqlDataSource>