Jul 30, 2011, 7:53 PM
[CLOSED] How to Populate Combobox on Focus?
Hi,
How can i populate the data in a combobox when the user focuses on the combbox. I tried like this but not able see the data.
1. The data must be returned from an ASPX server side method.
2. I do not want to use the HTTP Proxy as explained in the Custom Search example.
Regards,
Manoj.
How can i populate the data in a combobox when the user focuses on the combbox. I tried like this but not able see the data.
<ext:ComboBox ID="ComboBoxSito" runat="server" Width="350px" MinListWidth="450px"
ValueField="Value" DisplayField="Text" TypeAhead="true" HideTrigger="true"
MinChars="1" FieldLabel="Columns" LabelWidth="30">
<Store>
<ext:Store runat="server" OnRefreshData="RefreshData">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Text" />
<ext:RecordField Name="Value" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
</Store>
<Listeners>
</Listeners>
</ext:ComboBox>
Note: 1. The data must be returned from an ASPX server side method.
2. I do not want to use the HTTP Proxy as explained in the Custom Search example.
Regards,
Manoj.
Last edited by Daniil; Aug 01, 2011 at 7:03 PM.
Reason: [CLOSED]