In this blog we will know how to move items from one CheckBoxList to other one.
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs"
Inherits="_Default"
%>
<!DOCTYPE html
PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form
id="form1"
runat="server">
<div>
</div>
<asp:Panel ID="Panel1" runat="server"
Height="186px"
Width="178px"
BorderColor="#993333" BorderStyle="Outset" ForeColor="#CC3300">
<asp:CheckBoxList
ID="CheckBoxList1"
runat="server">
</asp:CheckBoxList>
</asp:Panel>
<asp:Button ID="Button1"
runat="server"
Text=">"
onclick="Button1_Click"
Width="50px" />
<asp:Button ID="Button2"
runat="server"
Text="<"
onclick="Button2_Click"
Width="50px" />
<asp:Panel ID="Panel2" runat="server"
Height="186px"
Width="178px"
BorderColor="Maroon"
BorderStyle="Outset">
<asp:CheckBoxList
ID="CheckBoxList2"
runat="server">
</asp:CheckBoxList>

Join the conversation! Your thoughts help the community grow.