add/remove with javascript for listboxes

Discussion in 'ASP .Net' started by =?Utf-8?B?ZGVlcGFr?=, Feb 13, 2005.

  1. hi ,
    i have 2 listbox and 2 buttons like add and remove, both listbox have
    multiple selection true so that i can either add or remove multiple selected
    items. the first listbox is populated with sql server table during page load
    time and the second one is empty, now i want if a user select item/s in first
    listbox then it should add in another listbox after clicking add withour
    postback using javascript and the item's text which is displayed in another
    listbox after clicking add botton should send there values(not text) to
    database table so that they also add in database. abd also if user select
    item/s in second listbox then it should be removed after clikcing remove
    button and the values also should hget removed from databass table also..
    plz help i need that no postback should happen and javascript should be used
    here... thanks in advance ..............................................
    =?Utf-8?B?ZGVlcGFr?=, Feb 13, 2005
    #1
    1. Advertising

  2. deepak,

    Please don't post the same question with different subjects.



    Juan T. Llibre
    ASP.NET MVP
    http://asp.net.do/foros/
    Foros de ASP.NET en EspaƱol
    =====================

    "deepak" <> wrote in message
    news:...
    > hi ,
    > i have 2 listbox and 2 buttons like add and remove, both listbox have
    > multiple selection true so that i can either add or remove multiple
    > selected
    > items. the first listbox is populated with sql server table during page
    > load
    > time and the second one is empty, now i want if a user select item/s in
    > first
    > listbox then it should add in another listbox after clicking add withour
    > postback using javascript and the item's text which is displayed in
    > another
    > listbox after clicking add botton should send there values(not text) to
    > database table so that they also add in database. abd also if user select
    > item/s in second listbox then it should be removed after clikcing remove
    > button and the values also should hget removed from databass table also..
    > plz help i need that no postback should happen and javascript should be
    > used
    > here... thanks in advance ..............................................
    Juan T. Llibre, Feb 13, 2005
    #2
    1. Advertising

  3. =?Utf-8?B?ZGVlcGFr?=

    KingLordSon

    Joined:
    Apr 20, 2007
    Messages:
    1
    KingLordSon, Apr 20, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bill yeager

    listboxes.........

    bill yeager, Aug 8, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    616
    Prakash
    Aug 11, 2003
  2. Replies:
    1
    Views:
    275
  3. Big E

    ASP.Net Listboxes

    Big E, Jun 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    331
    John Saunders
    Jun 15, 2004
  4. Luis Esteban Valencia

    ASP.NET, Listboxes, Javascript and the Viewstate

    Luis Esteban Valencia, Jan 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    736
    Luis Esteban Valencia
    Jan 17, 2005
  5. deepak

    mutiple addition/remove in two listboxes

    deepak, Feb 16, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    151
    Ken Cox [Microsoft MVP]
    Feb 16, 2005
Loading...

Share This Page