How to get the SearchBle Drop Down in asp.net
I am Using This Functions $(document).ready(function () {
$("#ddlBeneficiaryBank").select2({
placeholder: "Select an option",
allowClear: true
});
});
function pageLoad(sender, args) {
/ $("[id*=ddlBeneficiaryBank]"). select2();
}
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
if (sender._postBackSettings.panelsToUpdate != null) {
$("[id*=ddlBeneficiaryBank]"). select2();
}
});
};
But Not Getting Search Box in the DropDown Please Help Me !...............

Vishal YelveRank #178 · 13.6K reputationPosted Jun 8, 2023, 3:13 AM EDT
HI Nagaveni,
Hope you have added Jquery reference in proper orders
Also, you can refer below link
https://www.aspsnippets.com/Articles/Using-jQuery-Select2-Plugin-with-DropDownList-in-ASPNet.aspx
Tuhin PaulRank #7 · 71.9K reputationPosted Jun 8, 2023, 4:21 AM EDT
Initialize the Select2 plugin on your DropDownList. You can do this in the
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts