Aug 19, 2010, 12:57 PM
Bind the combobox dynamically
Hi,
I want to bind the combo box dynamically using store plz help me out
I want to bind the combo box dynamically using store plz help me out
<ext:Store ID="StorePlace" runat="server" AutoLoad="true">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Text" />
<ext:RecordField Name="Value" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:ComboBox ID="cmbplace" runat="server" FieldLabel="" TypeAhead="true" AnchorHorizontal="90%"
Mode="Local" ListAlign="left">
</ext:ComboBox>
cmbOccupation.StoreID = StorePlace.ID.ToString();
cmbOccupation.DataBind();
Last edited by geoffrey.mcgill; Aug 19, 2010 at 8:46 PM.
Reason: please use [CODE] tags