[CLOSED] ComboBox state

  1. #1

    [CLOSED] ComboBox state

    In 1.x and earlier versions of 2.x, comboboxes consists of two input fields. The normal input one that contains the text value with id = comboboxid and a hidden one that contains id value with id = comboboxid_value. Looks like this was recently changed so the hidden one is called _comboboxid_state and contains an serialized array. We have many areas of the app where we are creating comboboxes dynamically and then submitting them back. We pull their values manually out of the request object. Do you guys have an object to represent the state so I can deserialize the hidden value?
    Last edited by Daniil; Apr 08, 2013 at 3:58 PM. Reason: [CLOSED]
  2. #2
    Hi,

    You can use SimpleSubmit=true to submit value only or use the following method to parse selected items of combo
    Ext.Net.ComboBoxBase.ParseSelectedItems(state)
    That method return List<ListItem>
  3. #3
    Thanks, exactly what I was looking for.

Similar Threads

  1. How can set the buttons' state?
    By tyonly in forum 2.x Help
    Replies: 2
    Last Post: Oct 23, 2012, 6:28 AM
  2. [CLOSED] ComboBox and MultiCombo resizing when cycling read-only state
    By smmille1 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 18, 2010, 12:35 PM
  3. [CLOSED] [1.0] State Example
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 14, 2010, 3:06 PM
  4. Save TreePanel state
    By Kaido in forum 1.x Help
    Replies: 0
    Last Post: Sep 16, 2009, 11:46 AM
  5. Portal State
    By davidhoyt in forum 1.x Help
    Replies: 1
    Last Post: Dec 09, 2008, 10:58 AM

Posting Permissions