How to set border width through Style in code behind?

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

The same way as we can do with border-style in code behind.

Button4.Style["border-width"] = "2px";

Button5.Style["border-width"] = "medium";
Button6.Style["border-width"] = "thin";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response