ext:simple ComboBox binding issue

Martinooooo

New Member
i have a code something like this\[code\] <ext:ResourceManager ID="ResourceManager1" runat="server"></ext:ResourceManager><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:AProjeConnectionString %>" SelectCommand="SELECT Id,Name FROM PD"></asp:SqlDataSource> <ext:ComboBox ID="Departman" runat="server" DisplayField="Name" ValueField="Id" FieldLabel="Departman" EmptyText="Departman status" Flex="1"> <Store> <ext:Store ID="Store2" runat="server" DataSourceID="SqlDataSource2" AutoDataBind="true"> <Model> <ext:Model ID="Model2" runat="server"> <Fields> <ext:ModelField Name="Id" /> <ext:ModelField Name="Name" /> </Fields> </ext:Model> </Model> <Reader> <ext:ArrayReader /> </Reader> </ext:Store> </Store> </ext:ComboBox>\[/code\]result is empty combobox ,i guess it doesnt fill the combobox ,any help appreciatedthank you .
 
Back
Top