How to assign a CSS class dynamically?

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

We can write below code in code behind as:-
Button16.CssClass = "button_border";

Where,button_border is my CSS class name.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response