Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/// <summary> /// Makes a control transparent. Works with several browsers. /// </summary> /// <param name="control">The control.</param> /// <param name="opacity">The opacity amount.</param> private static void MakeTransparent(HtmlControl control, int opacity) { control.SetStyleAttribute("filter", "alpha(opacity=" + opacity + ")"); control.SetStyleAttribute("-moz-opacity", "." + opacity); control.SetStyleAttribute("opacity", "." + opacity); }