How to find selected items count/length for multiselect control

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    How to find selected items count/length for multiselect control

    Hi,
    I used multi select control in my app,
    there i need to get count/length of the selected items at client side to validate user weather any item selected or not
    I knew how to do this in code behind pages. But i need this at client side.
    Any solution is great help ful.
  2. #2
    Hi,

    MultiSelect1.getValue()
    returns a string of selected values separated by comma.

    MultiSelect1.getIndexes()
    returns a string of selected values indexes separated by comma.

Similar Threads

  1. Replies: 7
    Last Post: Jul 25, 2012, 5:34 PM
  2. Loop through selected items in Multiselect
    By ddolan in forum 1.x Help
    Replies: 3
    Last Post: Jul 29, 2010, 1:16 PM
  3. [CLOSED] Set the Selected Items in MultiSelect
    By majestic in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 11, 2010, 2:57 AM
  4. Multiselect with Store - can't get selected items
    By CheGuevara in forum 1.x Help
    Replies: 3
    Last Post: Nov 02, 2009, 5:23 PM
  5. Replies: 0
    Last Post: Jun 03, 2009, 5:30 PM

Tags for this Thread

Posting Permissions