Sets the toolbar control
Namespace:
AdvantageCMS.Core.Admin.BaseClasses
Assembly:
AdvantageCMS.Core (in AdvantageCMS.Core.dll)
public virtual void SetToolBarLocation(
string userControlLocation,
int objectTypeID
)
Parameters
- userControlLocation
- Type: String
The user control location.
- objectTypeID
- Type: Int32
The object type identifier.
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);