How to call CSS class on controls?

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

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