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