Problem when selecting in a combobox

Threaded View

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

    Problem when selecting in a combobox

    Hello

    I have a combobox, when I click to select a value, I choose one, but the value is not updated into the combobox text part (see picture of the process) :
    first I click to expand : ok
    second, and third I chosee, the combo collapsed, nothing appeared in the text part
    fourth, I click elsewhere an the value selected apear.

    Here the combo definition. I see nothing strange in it.

    <ext:ComboBox ID="ComboBox1"
        runat="server"
        Editable="false"
        Enabled="True" 
        DisplayField="STR_CountryName"
        ValueField="INT_idCountry" 
        EmptyText="Please choose a value">
        <Store>
            <ext:Store ID="Store3" runat="server">
                <Proxy>
                    <ext:HttpProxy Url="jsonDAL/ReturnJsonCountry.aspx" Json="false" Timeout="3000">
                    </ext:HttpProxy>
                </Proxy>
                <Reader>
                    <ext:JsonReader>
                        <Fields>
                            <ext:RecordField Name="INT_idCountry"  Type="Int"/>
                            <ext:RecordField Name="STR_CountryName" Type="String" />
                        </Fields>
                    </ext:JsonReader>
                </Reader>
            </ext:Store>
        </Store>
        <Listeners>
            <Expand Handler="#{ComboBox1}.store.reload();"/>
        </Listeners>
    </ext:ComboBox>
    The combobox defined below works well :

    <ext:ComboBox ID="ComboBox3"
        runat="server"
        Editable="false"
        Enabled="True" 
        DisplayField="STR_NameWorldRegion"
        ValueField="INT_idWorldRegion" 
        EmptyText="Please choose a value">
        <Store>
            <ext:Store ID="Store1" runat="server">
                <Proxy>
                    <ext:HttpProxy Url="jsonDAL/ReturnJsonWorldRegion.aspx" Json="false" Timeout="3000">
                    </ext:HttpProxy>
                </Proxy>
                <Reader>
                    <ext:JsonReader>
                        <Fields>
                            <ext:RecordField Name="INT_idWorldRegion"  Type="Int"/>
                            <ext:RecordField Name="STR_NameWorldRegion" Type="String" />
                        </Fields>
                    </ext:JsonReader>
                </Reader>
            </ext:Store>
        </Store>
        <Listeners>
            <Expand Handler="#{ComboBox3}.store.reload();"/>
        </Listeners>
    </ext:ComboBox>
    Attached Thumbnails Click image for larger version. 

Name:	Capt_120113_H105558_001.jpg 
Views:	102 
Size:	28.1 KB 
ID:	3701   Click image for larger version. 

Name:	Capt_120113_H105558_002.jpg 
Views:	81 
Size:	27.4 KB 
ID:	3702   Click image for larger version. 

Name:	Capt_120113_H105558_003.jpg 
Views:	89 
Size:	28.6 KB 
ID:	3703   Click image for larger version. 

Name:	Capt_120113_H105558_004.jpg 
Views:	88 
Size:	28.0 KB 
ID:	3704  

Similar Threads

  1. [CLOSED] Problem selecting items in Combobox
    By tlfdesarrollo in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 17, 2012, 6:57 PM
  2. Selecting value from ComboBox after binding
    By alexp in forum 1.x Help
    Replies: 0
    Last Post: Mar 30, 2011, 9:48 AM
  3. ComboBox Selecting Value using Text
    By speddi in forum 1.x Help
    Replies: 2
    Last Post: Apr 19, 2010, 3:11 AM
  4. combobox item selecting bug ! please help
    By relativ in forum 1.x Help
    Replies: 0
    Last Post: Nov 24, 2009, 4:31 AM
  5. Replies: 6
    Last Post: Mar 20, 2009, 5:39 PM

Posting Permissions