Click or drag to resize

EAPUtilFixupHoverButton Method

The CSS :hover pseudo-style is only supported on IE6 for anchor tags. A workaround to this is to wrap other tags in an anchor tag putting the :hover style on both the item and its anchor wrapper. This isn't required on other browsers, but doesn't cause any problem either.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static WebControl FixupHoverButton(
	WebControl btn
)

Parameters

btn
Type: System.Web.UI.WebControlsWebControl
The button element to wrap.

Return Value

Type: WebControl
The wrapped element or the unwrapped element as appropriate.
See Also