<ext:ListItem don't appears in my form???

  1. #1




    hi everybody, i have been working with object combobox, but the instruction <ext:ListItem, dont' appears in my sensitive inteligent..why??? i'll need to update version coolite.


     <ext:ComboBox
                ID="ComboBox3"
                runat="server" 
                Editable="false"         
                EmptyText="Select a state...">
                <Items>
                    <ext:ListItem Text="Alabama" Value="AL" />
                    <ext:ListItem Text="Alaska" Value="AK" />
                </Items>
            </ext:ComboBox>

    so, how can i set value from javascript to combobox object??


    thanks for all

  2. #2

    RE:
    Hi carlosmupe,

    I tried your code sample in Visual Studio and Intellisense appears to work correctly. Maybe try to restart Visual Studio, or maybe there is a different error on the Page which is preventing Intellisense from initializing properly.


    To set the value of the ComboBox using JavaScript, you can call the .setValue() function.


    http://www.extjs.com/deploy/dev/docs...ember=setValue


    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE:

    thanks dear, i solved working in codebehind, but always is good know it.

    if i'll use javascript, how use property .setvalue() ????

    for example:

    mi object combobox is:

    
    
    
    
    &#100;ocument.getElementById('txtestado_Sector').value=01

  4. #4

    RE:
    Example

    txtestado_Sector.setValue("your value here");

    Geoffrey McGill
    Founder
  5. #5

    RE:
    thanks dear.

Similar Threads

  1. [CLOSED] ComboBox empty ListItem
    By methode in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 18, 2013, 4:01 AM
  2. [CLOSED] Add listitem to multiselect use javascript.
    By gs_user in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 13, 2012, 7:49 AM
  3. [CLOSED] Displaying <, >, [, ] in ListItem
    By pj_martins in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 16, 2011, 5:19 PM
  4. How to allow html control inside a listitem?
    By masudcseku in forum 1.x Help
    Replies: 1
    Last Post: Sep 16, 2010, 9:26 PM
  5. ComboBox ListItem Selected
    By Timothy in forum Bugs
    Replies: 1
    Last Post: Aug 22, 2008, 2:51 PM

Posting Permissions