Hi, I have took checkbox in datalist as follows and I want to select this checkbox when i check another checkbox. when i check 'chkselectAll' checkbox then 'chkbox' must be selected. help me for the same.
<asp:DataList ID="lstProductlist" runat="server" AutoPostBack="true" RepeatDirection="Horizontal" RepeatColumns="4">
<ItemTemplate>
<asp:Image ID="imgproduct" runat="server" ImageUrl="" Width="70px" Height="70px" />
<asp:HiddenField ID="hdnproduct" runat="server" Value='<%# Eval("PreviewFile70") %>' />
<asp:CheckBox ID="chkbox" runat="server"/>
</ItemTemplate>
</asp:DataList>