Click or drag to resize
FileHelperCloneControlSource Method
Clones source codes (.ascx, .ascx.cs(vb), .designer.cs(vb)) for given control.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static void CloneControlSource(
	string srcFile,
	string dstFile,
	string dstCodeFile
)

Parameters

srcFile
Type: SystemString
Source file (full path to source .ascx file)
dstFile
Type: SystemString
Target files (full path to target .ascx file)
dstCodeFile
Type: SystemString
Target relative path
See Also