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

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

Parameters

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