EnableTaskMenuItem (client-side)

Use this routine to enable a specific task menu item.

Definition

EnableTaskMenuItem(sID,

                   nItem)

Parameters

sID

A string identifier that matches the id attribute of the corresponding task element in the relevant module configuration file.

nItem

The position of the menu item to be enabled, counting from 0 (zero) rather than 1 (one).

Return Value

None.

Remarks

Given the ID of a task button menu element and the zero-based position of an item in the menu, this routine enables the task menu item by setting the following attributes of the task element menu to the indicated values:

  • className with "bdtaskdisabled" removed

This routine is only available after the taskbar has been inserted by calling either InsertTaskBar or InsertEditTaskBar.

This routine is available in the include file ActionPageUtil.asp.

See Also

Client-Side Routines

DisableTaskMenuItem (client-side)

EnableAllTaskMenuItems (client-side)

EnableTask (client-side)

Server-Side Routines


All rights reserved.