AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ToolControlBase..::..SetToolBarLocation Method

Sets the toolbar control

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public virtual void SetToolBarLocation(
	string userControlLocation,
	int objectTypeID
)

Parameters

userControlLocation
Type: String
The user control location.
objectTypeID
Type: Int32
The object type identifier.

Examples


Call to replace the default toolbar with a custom one and associate it with a specific object type.
C#
SetToolBarLocation("~/MyTenant/ClientAdmin/Controls/CustomToolBar.ascx", myObjectTypeId);