ToggleTask (client-side)
Use this routine to toggle the enabled/disabled state of a task, changing it from enabled to disabled, or from disabled to enabled. The button for the task reflects the changed state, dimming when disabled.
Definition
ToggleTask(sID)
Parameters
sID
A string identifier that matches the id attribute of the corresponding task element in the relevant module configuration file.
Return Value
None.
Remarks
This routine toggles the enabled/disabled state of the task by calling either the EnableTask routine or the DisableTask routine, depending on the current state.
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.