Javascript is disabled in your web browser some of the functions of the site may not work properly, Please enable the javascript to visit fully functional site
Total Ranking points:5
0 Hi Sami Hussain you can add ID attribute on ASP.NET server controls by using ID attribute on them below is the simple example. <asp:DropDownList ID="DropDownIdName" runat="server"> <asp:ListItem Text="Red" Value="red"></asp:ListItem> <asp:ListItem Text="Blue" Value="blue"></asp:ListItem> <asp:ListItem Text="Green" Value="green"></asp:ListItem> </asp:DropDownList> Hope this helps you :)
1 Asp.Net