Cannot able to move the selected programs from availableprograms to selectedProgram multiselect box using javascript

  1. #1

    Multiselect : Remove selected item and add in other multiselect


    How to find selected records multiselect using javascript

    Remove selected item and add in other multiselect

    below is the code ....can any one please help to get the solution

    <%@ Page Language="C#" %>

    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    <html xmlns="">
    <head runat="server">
    <title>Ext.Net Example</title>

    <script type="text/javascript">
    var copy = function (source, dest) {
    var selected = source.view.getSelectedRecords(),
    storeDest =,
    recordType = storeDest.recordType;

    Ext.each(selected , function (r) {
    storeDest.add(new recordType(;
    <form runat="server">
    <ext:ResourceManager runat="server" />
    <ext:MultiSelect ID="MultiSelect1" runat="server">
    <ext:ListItem Text="Item 1" Value="1" />
    <ext:ListItem Text="Item 2" Value="2" />
    <ext:ListItem Text="Item 3" Value="3" />
    <ext:Button runat="server" Text="Copy">
    <Click Handler="copy(MultiSelect1, MultiSelect2);" />
    <ext:MultiSelect ID="MultiSelect2" runat="server" />
    Last edited by praveencat123; Oct 12, 2012 at 10:37 AM. Reason: Code is too big

Similar Threads

  1. Drag all selected items on mouse move
    By Dominik in forum 2.x Help
    Replies: 1
    Last Post: May 29, 2012, 2:17 PM
  2. Replies: 0
    Last Post: May 03, 2011, 1:19 PM
  3. Loop through selected items in Multiselect
    By ddolan in forum 1.x Help
    Replies: 3
    Last Post: Jul 29, 2010, 1:16 PM
  4. Move an Item of Multiselect in codebehind
    By sfvaleriano in forum 1.x Help
    Replies: 0
    Last Post: Sep 14, 2009, 2:52 PM
  5. How to set selected value in multiselect
    By Mohammad Yakub in forum 1.x Help
    Replies: 0
    Last Post: Mar 10, 2009, 6:07 AM

Tags for this Thread

Posting Permissions