CMSDeskPageAddMenuButtonSelectScript Method (Control, String, String, String) |
Adds script for selecting of unimenu button to given Control (probably Page).
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax 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