Transferring
The Transferring server event fires when the AutoPostBackOnTransfer="True" and the user tries to transfer an item / items. It fires before the Deleting server event (if not cancelled) once for all selected items. If this event is not cancelled and the AllowAutomaticUpdates="True" - the database is updated to reflect the new reordered list.
The event handler receives two parameters:
The instance of the listbox firing the event
An event arguments parameter containing the following properties:
Items - collection of all RadListBoxItem objects which will be affected by the transfer.
Cancel - set it to True to cancel the event and prevent the transfer to happen
protected void SourceListBox_Transferring(object sender, RadListBoxTransferringEventArgs e)
{
e.Cancel = true;
}
Protected Sub SourceListBox_Transferring(sender As Object, e As RadListBoxTransferringEventArgs)
e.Cancel = True
End Sub