There Should be two Asp.Net Controls one is CheckListBox which contains colors and another should be ListBox control. Both Boxes have 2 Html buttons.
i.e,CheckBoxList-1.Check All( C All) ListBox-1.Add All (Ad All)
2.UnCheck All(Uc All ) 2.Add Selected(Ad Sel)
After Designing writes all the server side coding in Javascript.(Total coding should be in Javascript.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ColorAdd.aspx.cs" Inherits="ColorAdd" %>
// private void btnCheckAll(object sender,e)
.auto-style1 {
width: 339px;
}
.auto-style2 {
width: 292px;
}
| ID="CheckBoxList1" runat="server" Font-Italic="true" Font-Names="Courier New" Font-Size="X-Large" Height="245px" Width="341px" BackColor="Yellow" CssClass="cbl" OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged" AutoPostBack="True"> | OnSelectedIndexChanged="ListBox1_SelectedIndexChanged" style="margin-left: 37px"> |
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 30, 2017, 12:40 AM EST
Pd Coolest18 reputationPosted Nov 30, 2017, 8:32 PM EST
Ram NunnaRank #8,962 · 213 reputationPosted Nov 30, 2017, 10:06 PM EST