MapperUtilsIsControlAttrSet Method (WebControl, String, String) |
Determine if the specified attribute is set to other than the specified value on the WebControl.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool IsControlAttrSet(
WebControl control,
string attributeName,
string val
)
Public Shared Function IsControlAttrSet (
control As WebControl,
attributeName As String,
val As String
) As Boolean
Parameters
- control
- Type: System.Web.UI.WebControlsWebControl
The control to check. - attributeName
- Type: SystemString
The attribute name. - val
- Type: SystemString
The value against which to check.
Return Value
Type:
BooleanTrue if attribute is set to any non-blank value other than that specified, else false.
See Also