Click or drag to resize
CMSDeskPageAddMenuButtonSelectScript Method (Control, String, String, String)
Adds script for selecting of unimenu button to given Control (probably Page).

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
public static void AddMenuButtonSelectScript(
	Control control,
	string elementName,
	string url,
	string menuFrame
)

Parameters

control
Type: System.Web.UIControl
Control (page) to assign script to
elementName
Type: SystemString
UI Element code name (button)
url
Type: SystemString
URL to redirect to
menuFrame
Type: SystemString
Frame with menu
See Also