Bass Alfa

Bass Alfa

  • NA
  • 11
  • 2.2k

How to create searchable bounded ASP dropdownlist

Apr 3 2019 10:23 AM
I have a bounded DropDownList in my ASP WebForm.
it's bounded like this:
  1. <div class="form-group">    
  2.       <asp:DropDownList  ID="myDDL" runat="server" CssClass="form control" AutoPostBack="true" DataSourceID="MyDS" DataTextField="EName" DataValueField="A D"></asp:DropDownList>    
  3.       <asp:SqlDataSource ID="MyDS" runat="server" ConnectionString="<%$ ConnectionStrings:Conn %>" SelectCommand="NamesListSP" SelectCommandType="StoredProcedure"></asp:SqlDataSource>    
  4. </div>   
i tried to using JQuery (select2.js, dropdownsearchable.js) but nothing working!
 
any idea please? 

Answers (1)