Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Remove MobileListItem by value

Reply
Thread Tools

Remove MobileListItem by value

 
 
Roman O
Guest
Posts: n/a
 
      11-29-2004
Hi!

I'm trying to delete MobileListItem defined in .aspx page:
<mobile:selectionlist id="List1" runat="server" selecttype="DropDown">
<item text="Some text" value="Item1" />
</mobile:selectionlist>

I'm using Remove method:
List1.Items.Remove("move");

or property Visible:
List1.Items[0].Visible = false;

But in both cases I didn't see any result.

Can anybody help me?


 
Reply With Quote
 
 
 
 
Roman O
Guest
Posts: n/a
 
      11-29-2004
> <mobile:selectionlist id="List1" runat="server" selecttype="DropDown">
> <item text="Some text" value="Item1" />
> </mobile:selectionlist>
>
> I'm using Remove method:
> List1.Items.Remove("move");


Sorry List1.Items.Remove("Item1");


 
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
Httpmodule still executed even if remove using <remove> config entry Simon-Pierre Jarry ASP .Net 2 08-10-2005 11:22 AM
How to remove items from add/remove list please Caractucus Potts Computer Support 5 07-03-2005 10:31 PM
Re: Why I can not remove all dialers after "remove"-I have two anti-dialers programs Joseph Ladovic Computer Security 3 05-26-2005 03:00 AM
Add/Remove Program Glitch: Asks If I Want To To Remove Wrong Program ? Robert11 Computer Support 6 08-02-2004 09:02 PM
how to remove software from add/remove mohnic Computer Information 2 02-07-2004 11:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57