Mobile List ItemsAsLinks

Discussion in 'ASP .Net Mobile' started by rwoo_98@yahoo.com, Oct 3, 2005.

  1. Guest

    I have the following on a mobilepage:

    SectionList
    Command
    List

    The SectionList SelectType is a DropDown.
    Both the SectionList and List are dynamically generated.
    List also has an OnItemDataBind event, which adds additional text to
    the List.
    The List.ItemsAsLinks is set to false.

    When the page comes up the items in the List are displayed as links and
    contain a postback. I don't want the Items displayed as links. Any
    ideas?

    Thanks,
     
    , Oct 3, 2005
    #1
    1. Advertisements

  2. Guest

    Found the problem. If you double click the List object in the design
    window, a ListCommandEventHandler is automatically created. Once this
    happens, the items in the List are created with a postback.

    Hope someone finds this useful.
     
    , Oct 3, 2005
    #2
    1. Advertisements

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. Zahoor
    Replies:
    1
    Views:
    980
    Darryl L. Pierce
    Nov 15, 2003
  2. roopa
    Replies:
    6
    Views:
    1,010
    Jerry Coffin
    Aug 27, 2004
  3. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    Non "mobile" controls on Mobile ASPX

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Aug 17, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    886
    Steven Cheng[MSFT]
    Aug 20, 2007
  4. chen selina
    Replies:
    0
    Views:
    1,618
    chen selina
    Jul 13, 2010
  5. Ryan Malone
    Replies:
    0
    Views:
    287
    Ryan Malone
    Aug 23, 2004
  6. Yaiz
    Replies:
    0
    Views:
    327
  7. dawson
    Replies:
    0
    Views:
    300
    dawson
    Jul 12, 2005
  8. Pankaj Jain
    Replies:
    1
    Views:
    980
    Duncan McC
    Jun 11, 2008
Loading...