<div class="box-body" id="divaddBank" runat="server"> <div class="form-group col-sm-12"> <asp:DropDownList class="form-control select2" Style="width: 100%;" ID="ddlBeneficiaryBank" TabIndex="-1" runat="server" aria-hidden="true" OnSelectedIndexChanged="Bank_SelectedIndexChanged" AutoPostBack="true"> </asp:DropDownList> <asp:HiddenField runat="server" ID="hdnSelectedBankValue" Value="" /> <asp:HiddenField runat="server" ID="hdnAccNoLimit" Value="0" /> <asp:HiddenField runat="server" ID="hdnbankCode" Value="" /> <asp:HiddenField runat="server" ID="hdnifscCode" Value="" /> <asp:HiddenField runat="server" ID="hdnupiCode" Value="" /> </div>
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 Search Box is not come why Please Help !.......