As you can see in our Developers Guide
: Creating ASPX master pages the ajaxToolkit:ToolkitScriptManager - allows pages to use AJAX components. This is required by all pages that contain the CMSPortalManager control.
Here is a small workaround to dynamically decide when the PortalManager control is used, based on the current viewmode. In this example the CMSPageManager control will be used in all viewmodes except the LiveSite view mode, and the CMSPortalManager control will be used in the LiveSite.
if (CMSContext.ViewMode != CMS.PortalEngine.ViewModeEnum.LiveSite)
var portalManager = new CMS.PortalControls.CMSPortalManager();
portalManager.EnableViewState = false;
portalManager.ID = "manPortalEdit";
Special thanks go to Henry Tait.
See also: Creating ASPX master pages
, How to register and use the native Kentico jQuery library
Kentico Version 7.x