Apr 24, 2013, 12:27 PM
[CLOSED] ComboBox - Store - no Items
Hello,
i have a comboBox with a store and AjaxProxy. After autoload the combobox don't show items. Why ?
.aspx
i have a comboBox with a store and AjaxProxy. After autoload the combobox don't show items. Why ?
.aspx
<ext:ComboBox ID="ComboBox1" runat="server" DisplayField="Name" ValueField="ID" AnchorHorizontal="100%" FieldLabel="Test">
<Store>
<ext:Store ID="st_space_members" runat="server" AutoLoad="true">
<Proxy>
<ext:AjaxProxy Url="~/Space/GetSpaceMembersBySearch">
<Reader>
<ext:JsonReader Root="ID" TotalProperty="total" />
</Reader>
</ext:AjaxProxy>
</Proxy>
<Model>
<ext:Model ID="Model1" runat="server">
<Fields>
<ext:ModelField Name="ID" />
<ext:ModelField Name="Name" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
</ext:ComboBox>
ControllerActionpublic StoreResult GetSpaceMembersBySearch()
{
//The Code with the result
}
Thanks for help!
Last edited by Daniil; Apr 30, 2013 at 4:18 AM.
Reason: [CLOSED]