Hi Nishar Mohamed Shamsudeen,
Greetings from Syncfusion support.
We have prepared an ASP.NET WebForms DropDownList sample based on your requirement and attached it here for your reference. You can set the required value to be selected using the “Value” property of ejDropDownList.
Here is the sample code for setting DropDownList values in client side.
|
<ej:DropDownList ID="DropDownList1" runat="server" Value="item1">
<Items>
<ej:DropDownListItem ID="DropDownListItem1" runat="server" Text="Syncfusion" Value="item1"></ej:DropDownListItem>
<ej:DropDownListItem ID="DropDownListItem2" runat="server" Text="Product" Value="item2"></ej:DropDownListItem>
<ej:DropDownListItem ID="DropDownListItem3" runat="server" Text="Support" Value="item3"></ej:DropDownListItem>
</Items>
</ej:DropDownList> |
Refer to the following UG link for setting and getting values.
Please let us know if you need any further assistance.
Regards,
Keerthana R.