checkboxlist - selected item sequence

Discussion in 'ASP .Net' started by yh, Nov 20, 2008.

  1. yh

    yh Guest

    is there a way to get the selected item sequence of the checkboxlist?
    for example, user tick item4,item1,item2, i need to get 4-1-2, not 1-2-4.
    thank you.
    yh, Nov 20, 2008
    #1
    1. Advertising

  2. yh

    bruce barker Guest

    you can with javascript, the browser will not tell you. add onclick
    hander to each checkbox, then recored the click order in a hidden field.

    -- bruce (sqlwork.com)

    yh wrote:
    > is there a way to get the selected item sequence of the checkboxlist?
    > for example, user tick item4,item1,item2, i need to get 4-1-2, not 1-2-4.
    > thank you.
    bruce barker, Nov 20, 2008
    #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. Patrick.O.Ige
    Replies:
    5
    Views:
    19,106
    Patrick.O.Ige
    Jun 19, 2005
  2. Alex D.

    checkboxlist selected item

    Alex D., Feb 3, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    12,891
    Ken Cox - Microsoft MVP
    Feb 5, 2006
  3. Johannes Zellner
    Replies:
    1
    Views:
    502
    Alex Martelli
    Jan 17, 2006
  4. Iain
    Replies:
    3
    Views:
    929
  5. mldardy
    Replies:
    0
    Views:
    963
    mldardy
    Sep 28, 2010
Loading...

Share This Page