Click or drag to resize
CMSPageSetAction Method
Sets the particular action data.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax
C#
public void SetAction(
	int index,
	string text,
	string targetUrl,
	string javascript = null,
	string tooltip = null
)

Parameters

index
Type: SystemInt32
Index of the action
text
Type: SystemString
Text of the actions
targetUrl
Type: SystemString
Target URL
javascript (Optional)
Type: SystemString
Java-script to execute on click
tooltip (Optional)
Type: SystemString
Tooltip of the action
See Also