How to call CSS class on controls?

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

We have a CSSClass in-built property of a controls,through which we can call any css class as follows:

<asp:Label ID="lbl_name" runat="server" Text="Name:" CssClass="label_bold" ></asp:Label>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response