EAPCtrlUtilsApplyTagAttributes Method |
Apply arbitrary tag attributes (for example as specified in the field's TagAttributes property).
Note that this may step on attributes already on the control!
Example: [style="color:red" tabindex="-1"] (without the brackets).
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void ApplyTagAttributes(
WebControl ctrl,
string attributes
)
Public Shared Sub ApplyTagAttributes (
ctrl As WebControl,
attributes As String
)
Parameters
- ctrl
- Type: System.Web.UI.WebControlsWebControl
The control to which to add the attributes. - attributes
- Type: SystemString
The set of attributes to add.
See Also