avair

avair

  • NA
  • 40
  • 2.7k

Bind countries information using javascript

May 24 2023 5:10 PM

I have a dropdown which will bind all the countries to it i need to add select and bind all the countries from database along with select as first value in dropdown. If you need StoreID its StoreID="stCountries"


<ext:ComponentColumn runat="server">
   <Items>
      <ext:DropDownField runat="server" ID="ddlCountries" SingleSelect="true" DisplayField="countryNames"></ext:DropDownField>
   </Items>
   <Listeners></Listeners>
   <Component></Component>
</ext:ComponentColumn>


Answers (7)