Click or drag to resize
CMSPreviewControlSetPreviewStateToCookies Method
Insert (or replace) new preview state value based on given key

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public void SetPreviewStateToCookies(
	string key,
	int state
)

Parameters

key
Type: SystemString
Key of wanted value
state
Type: SystemInt32
New preview state value
See Also