Copy render attributes from a control.
Namespace:
EPiServer.CoreAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[ObsoleteAttribute("CopyWebAttributes is no longer used. All rendering logic is moved to EPiServer.Web.PropertyControls.", true)] public void CopyWebAttributes( Control source, Control target ) |
Parameters
- source
- Type: System.Web.UI..::.Control
The control to read attributes from.
- target
- Type: System.Web.UI..::.Control
The control to copy attributes to.
Remarks
This can be used for custom web controls to make them support standard rendering properties without
having to explicitly implement code to handle those attributes.