CompositeControlBaseCopyAttribute Method (WebControl, String) |
Write the specified attribute from the control's Attribute collection.
The purpose of this is to allow derived composites to move copy attributes from the
composite control to one or more of the contained controls.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected void CopyAttribute(
WebControl ctrl,
string name
)
Protected Sub CopyAttribute (
ctrl As WebControl,
name As String
)
Parameters
- ctrl
- Type: System.Web.UI.WebControlsWebControl
The control to which to copy the attribute. - name
- Type: SystemString
The attribute name of the item to copy.
See Also