What is an alternative way of providing Border color to any controls?

 Posted by vishalneeraj-24503 on 5/6/2014 | Category: ASP.NET Interview questions | Views: 492 | Points: 40
Answer:

We have border-color in-built STYLE property,which is used to apply Border color to any controls.

For Example:-
<asp:Button ID="btn_save" runat="server" Text="Save" style="border-color:yellow;" />

<asp:TextBox ID="txt_name" runat="server" style="border-color:yellow;"></asp:TextBox>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response