Answer: We have control's ATTRIBUTES ADD static method.In this method we have to pass style as KEY and border-width CSS property and value like thick,thin,medium or any value in pixel and so on as VALUE in it.
For Example:-
Button1.Attributes.Add("style", "border-width:thick");
Button2.Attributes.Add("style", "border-width:2px");
Asked In: Many Interviews |
Alert Moderator