Example #1
0
 public static WebControl ToggleStyle(this WebControl control, bool needsstyle, CssClass styletrue, CssClass stylefalse)
 {
     return control.ToggleStyle(needsstyle, styletrue.Name, stylefalse.Name);
 }
Example #2
0
 public static WebControl ToggleStyle(this WebControl control, CssClass style)
 {
     return control.ToggleStyle(style.Name);
 }
Example #3
0
 public static WebControl AddStyle(this WebControl control, CssClass style)
 {
     return control.AddStyle(style.Name);
 }