Hi @Gani_tpt,
You can try using jQuery Select2 plugin.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js"></script>
<script type="text/javascript">
$(function () {
$("[id*=cbCustomer]").select2();
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<br />
<table>
<tr>
<td>Country:-
</td>
<td>
<asp:DropDownList ID="cbCustomer" runat="server" Width="300px" AutoPostBack="true">
<asp:ListItem Selected="True" Text="--Select--" Value="--Select--"></asp:ListItem>
<asp:ListItem Text="Portugal-BL-CZ231" Value="Portugal-BL-CZ231"></asp:ListItem>
<asp:ListItem Text="GERMANY-AM-CX2918" Value="GERMANY-AM-CX2918"></asp:ListItem>
<asp:ListItem Text="USA-291-BC232X" Value="USA-291-BC232X"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.