Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Urgent!!!!! Remove Items from a <Asp:Listbox> thru javascript

Reply
Thread Tools

Urgent!!!!! Remove Items from a <Asp:Listbox> thru javascript

 
 
=?Utf-8?B?U2lsZWVzaA==?=
Guest
Posts: n/a
 
      11-04-2004
HI

Does any one know hot to remove selected items from a Listbox.

Any sample code?

Thx
Sileesh
 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      11-04-2004
You should be able to get the selected index in the postback and either
..Delete (or is it .Remove) or iterate through the contents clearing them all
then readding only the unslected ones.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Sileesh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> HI
>
> Does any one know hot to remove selected items from a Listbox.
>
> Any sample code?
>
> Thx
> Sileesh



 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      11-04-2004
Nevermind....from your other post you aren't doing this with a postback or
ANY server code....
See my reply to your other post

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Sileesh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> HI
>
> Does any one know hot to remove selected items from a Listbox.
>
> Any sample code?
>
> Thx
> Sileesh



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Order notes starting at C thru B rather than A thru G Max Williams Ruby 3 01-06-2009 11:37 AM
RDP thru Cisco VPN client and thru 501 Failure curttampa@gmail.com Cisco 21 08-26-2008 03:11 PM
Can't access Web Service thru DLL (but can thru Windows App) THTB ASP .Net Web Services 0 05-17-2007 06:43 PM
How to remove items from add/remove list please Caractucus Potts Computer Support 5 07-03-2005 10:31 PM
Urgent!!!!!!!! Adding Items to <Asp:ListItem> thru Javascript =?Utf-8?B?U2lsZWVzaA==?= ASP .Net 1 11-04-2004 07:04 PM



Advertisments