Remove MobileListItem by value

Discussion in 'ASP .Net Mobile' started by Roman O, Nov 29, 2004.

  1. Roman O

    Roman O Guest

    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?
     
    Roman O, Nov 29, 2004
    #1
    1. Advertising

  2. Roman O

    Roman O Guest

    > <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");
     
    Roman O, Nov 29, 2004
    #2
    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. LunchBox
    Replies:
    0
    Views:
    780
    LunchBox
    Dec 4, 2003
  2. Simon-Pierre  Jarry
    Replies:
    2
    Views:
    2,386
    Henrik
    Aug 10, 2005
  3. sam
    Replies:
    1
    Views:
    677
    Gianni Mariani
    May 1, 2005
  4. tshad
    Replies:
    6
    Views:
    21,492
    tshad
    Aug 8, 2006
  5. =?Utf-8?B?Q1NoYXJwZ3V5?=

    remove data value from dataset

    =?Utf-8?B?Q1NoYXJwZ3V5?=, Aug 17, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    2,163
    =?Utf-8?B?Q1NoYXJwZ3V5?=
    Aug 17, 2006
Loading...

Share This Page