Copies render attributes from a WebControl defined in the property AttributeSourceControl. If this property is not set the attributes will be copied from the Control itself.

Namespace:  EPiServer.Web.PropertyControls
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public void CopyWebAttributes(
	WebControl target
)

Parameters

target
Type: System.Web.UI.WebControls..::.WebControl
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.

See Also