Answer: With the help of
class property of controls,we can apply the same css class as with CSSClass property as:-
<asp:Button ID="Button1" runat="server" Text="Button 1" class="button_border"/>
<input type="button" name="button" id="Button2" value = "Button 2" class="button_border" />
Asked In: Many Interviews |
Alert Moderator