<asp:DropDownList ID="ddlFruits">
<asp:ListItem Text="----Fruits----" Value=""></asp:ListItem>
</asp:DropDownList>
Hi im putting in this code for my dropdown and it is not showing on my browser.
<asp:DropDownList ID="ddlFruits">
<asp:ListItem Text="----Fruits----" Value=""></asp:ListItem>
</asp:DropDownList>
Hi im putting in this code for my dropdown and it is not showing on my browser.
add runat=“server” to your DropDownList control.
<asp:DropDownList ID="ddlFruits" runat="server">
Thanks.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.