Ajax Multi ListBox
Ajax Multi-ListBox is a dual listbox that uses ajax to move items from left to right and vice versa.

Features

-Ability to pass extra data to be returned in callback
-High performance with ajax calls as oppose to postbacks
-Easy to read code and samples
-Use of web services or web methods 

 
<uc1:MultiListBox ID="MultiListBox1" runat="server" 
            LeftBoxDataTextField="Name" 
            LeftBoxDataValueField="ID"
            RightBoxDataTextField="Name" 
            RightBoxDataValueField="ID" 
            LeftBoxTitle="Available Items"
            RightBoxTitle="Selected Items" 
            LeftClickFunction="Default.aspx/LeftClick" 
            RightClickFunction="Default.aspx/RightClick"
            LeftClickExtraData="hiddenField1"
            RightClickExtraData="hiddenField2" />

 

  [WebMethod()]
  public static string RightClick(object items)
  {
       return "Moved to Right";
  }
 
  [WebMethod()]
  public static string LeftClick(object items)
  {
        return "Moved to left";
  }

screenshot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Last edited Jun 7, 2011 at 5:06 PM by CodePlexUserFist, version 15