EXT.NET 3.0.0 RELEASED!
Now with Tablet Support!
Ext.NET 3.0.0 is here with lots of new cool features and now with tablet support! Check Examples Explorer now to see it in action or download and test it yourself for free!
Results 1 to 2 of 2

Thread: how to disable and enable combobox?

  1. #1
    Member
    Join Date
    Jun 2009
    Location
    Chittagong, Bangladesh.
    Posts
    35

    how to disable and enable combobox?

    Code:
                                                 <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
    Ext.NET - Dev Team Vladimir's Avatar
    Join Date
    Mar 2008
    Location
    Russia
    Posts
    15,388

    RE: how to disable and enable combobox?

    Hi,

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


    Vladimir Shcheglov
    Ext.NET, Inc.
    Development Team

    Ext.NET Examples | Ext.NET API Docs | ExtJS API Docs | Twitter | Jobs

Similar Threads

  1. Replies: 1
    Last Post: Jul 28, 2011, 5:25 PM
  2. Button Disable/Enable issue
    By paddy in forum 1.x Help
    Replies: 3
    Last Post: Jul 26, 2011, 9:28 AM
  3. Button Enable/Disable
    By Maia in forum 1.x Help
    Replies: 5
    Last Post: Jul 02, 2010, 9: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, 9:00 AM
  5. Enable or disable the button
    By VietView in forum 1.x Help
    Replies: 4
    Last Post: Jan 09, 2009, 12:59 PM

Posting Permissions