AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageLayout..::..ImportLayoutFromFile Method (Page, String, Boolean)

Imports the layout from file.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void ImportLayoutFromFile(
	Page page,
	string virtualFilePath,
	bool appendTimeStamp
)

Parameters

page
Type: Page
The page.
virtualFilePath
Type: String
The virtual file path.
appendTimeStamp
Type: Boolean
if set to true [append time stamp].

Exceptions


ExceptionCondition
ExceptionControl is not a valid layout control
[AdvantageCMS.Core.Admin.Event.eCMSEngineEventStatus.Exception]Control is not a valid layout control