Click or drag to resize
VirtualContextHandleVirtualContext Method
Loads and stores the virtual context values for the request.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool HandleVirtualContext(
	ref string relativePath
)

Parameters

relativePath
Type: SystemString
Relative path. If loading succeeded, returns updated virtual path without the context values.

Return Value

Type: Boolean
True, if loading of the virtual context succeeded and the request is a virtual context request, otherwise false.
Exceptions
ExceptionCondition
InvalidVirtualContextExceptionWhen post back under preview link is made -or- link is invalid.
See Also