OnBeforeCheckTop
OnBeforeCheck
Occur before item is checked. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeCheck"] = "Handle_OnBeforeCheck";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeCheck(item,args)
{
//args["Item"]: The checked item.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeDeleteTop
OnBeforeDelete
Occur before item is deleted. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeDelete"] = "Handle_OnBeforeDelete";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeDelete(item,args)
{
//args["Data"]: Data of deleted item.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeReorderTop
OnBeforeReorder
Occur before item is reodered. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeReorder"] = "Handle_OnBeforeReorder";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeReorder(item,args)
{
//args["From"]: The position that the item is moved from.
//args["To"]: The position that the item is moved to.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeSelectTop
OnBeforeSelect
Occur before item is selected. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeSelect"] = "Handle_OnBeforeSelect";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeSelect(item,args)
{
//args["Item"]: The selected item.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeTransferTop
OnBeforeTransfer
Occur before item is transferred. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeTransfer"] = "Handle_OnBeforeTransfer";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeTransfer(listbox,args)
{
//args["Destination"]: The destination listbox.
//args["Item"]: The item that will be transfered.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeUnCheckTop
OnBeforeUnCheck
Occur before item is un-checked. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeUnCheck"] = "Handle_OnBeforeUnCheck";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeUnCheck(item,args)
{
//args["Item"]: The un-checked item.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnBeforeUnSelectTop
OnBeforeUnSelect
Occur before item is un-selected. You return true
on handle function to approve action, return false
to cancel action.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnBeforeUnSelect"] = "Handle_OnBeforeUnSelect";
...
?>
...
<script type="text/javascript">
function Handle_OnBeforeReorder(item,args)
{
//args["Item"]: The un-selected item.
return true; // Approve action
}
</script>
Supported from version: 1.0.0.0
OnCheckTop
OnCheck
Occur after an item is checked.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnCheck"] = "Handle_OnCheck";
...
?>
...
<script type="text/javascript">
function Handle_OnCheck(item,args)
{
//args["Item"]: The checked item.
alert("Item is checked.");
}
</script>
Supported from version: 1.0.0.0
OnDeleteTop
OnDelete
Occur after an item is deleted.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnDelete"] = "Handle_OnDelete";
...
?>
...
<script type="text/javascript">
function Handle_OnDelete(item,args)
{
//args["Data"]: Data of deleted item.
alert("Item is deleted.");
}
</script>
Supported from version: 1.0.0.0
OnReorderTop
OnReorder
Occur after an item is reordered.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnReorder"] = "Handle_OnReorder";
...
?>
...
<script type="text/javascript">
function Handle_OnReorder(item,args)
{
//args["From"]: The position that the item is moved from.
//args["To"]: The position that the item is moved to.
alert("Item is reordered.");
}
</script>
Supported from version: 1.0.0.0
OnSelectTop
OnSelect
Occur after an item is selected.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnSelect"] = "Handle_OnSelect";
...
?>
...
<script type="text/javascript">
function Handle_OnSelect(item,args)
{
//args["Item"]: The selected item.
alert("Item is selected.");
}
</script>
Supported from version: 1.0.0.0
OnTransferTop
OnTransfer
Occur after an item is transferred.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnTransfer"] = "Handle_OnTransfer";
...
?>
...
<script type="text/javascript">
function Handle_OnTransfer(listbox,args)
{
//args["Destination"]: The destination listbox.
//args["Data"]: The data of item that was transferred.
alert("Item is transferred.");
}
</script>
Supported from version: 1.0.0.0
OnUnCheckTop
OnUnCheck
Occur after an item is un-checked.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnUnCheck"] = "Handle_OnUnCheck";
...
?>
...
<script type="text/javascript">
function Handle_OnUnCheck(item,args)
{
//args["Item"]: The un-checked item.
alert("Item is un-checked.");
}
</script>
Supported from version: 1.0.0.0
OnUnSelectTop
OnUnSelect
Occur after an item is un-selected.
Show/Hide Code
<?php
...
$listbox->ClientEvents["OnUnSelect"] = "Handle_OnUnSelect";
...
?>
...
<script type="text/javascript">
function Handle_OnUnSelect(item,args)
{
//args["Item"]: The un-selected item.
alert("Item is un-selected .");
}
</script>
Supported from version: 1.0.0.0