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: 10.0.0
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