how to disable and enable combobox?

Hybrid View

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

    how to disable and enable combobox?

                                                 <ext:ComboBox Disabled="true" ID="cmbEmployeeType" StoreID="StoreEmployeeType" runat="server" Width="270"                                                Editable="true" DisplayField="vEmployeeTypeName" ValueField="vEmployeeTypeID"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" Select&#111;nfocus="true">
                                                </ext:ComboBox>
                                                <ext:Checkbox ID="chkEmployeeType" runat="server" LabelStyle="font-size: 11px;" BoxLabel="All" HideLabel="true">
                                                    <Listeners>
                                                        <Check Handler="#{cmbEmployeeType}.Enabled();"/>
                                                    </Listeners>
                                                </ext:Checkbox>



    I use above code to enable cmbEmployeeType combobox. But its not working. Please help me.



  2. #2

    RE: how to disable and enable combobox?

    Hi,

    Need use enable() or disable(). In my signature you can find ExtJS link - client side API


Similar Threads

  1. Replies: 1
    Last Post: Jul 28, 2011, 4:25 PM
  2. Button Disable/Enable issue
    By paddy in forum 1.x Help
    Replies: 3
    Last Post: Jul 26, 2011, 8:28 AM
  3. Button Enable/Disable
    By Maia in forum 1.x Help
    Replies: 5
    Last Post: Jul 02, 2010, 8:03 PM
  4. How to disable and enable a checkbox using Javascript
    By phancongphuoc in forum 1.x Help
    Replies: 1
    Last Post: Mar 24, 2010, 8:00 AM
  5. Enable or disable the button
    By VietView in forum 1.x Help
    Replies: 4
    Last Post: Jan 09, 2009, 11:59 AM

Posting Permissions