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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ram NunnaPosted Dec 1, 2017, 3:06 AM
Pd CoolestPosted Dec 1, 2017, 1:32 AM
Laxmidhar SahooPosted Nov 30, 2017, 5:40 AM