Hi guy,
there's a way to distinguish between transfer event and delete event?
In my scenario the transferring an item from listBox1 to listBox2 is a simple change of type (white to black), while deleting is remove the item from the application at all.
My problem is with transfer event, so when I click on the transfer button, the delete event is launched and the item gone to deleted state!
This is my code:
<telerik:RadListBox runat="server" ID="radListMittentiAttendibili"
Height="240px"
Width="350px"
AllowTransfer="true"
AutoPostBackOnTransfer="true"
TransferToID="radListMittentiBloccati"
OnTransferred="radListMittentiAttendibili_Transferred"
AllowDelete="true"
AutoPostBackOnDelete="true"
OnDeleted="radListMittentiAttendibili_Deleted"
SelectionMode="Multiple"
DataKeyField="ID"
DataTextField="Email"
DataValueField="ID"
>
<ButtonSettings ShowTransferAll="false" ShowReorder="false" VerticalAlign="Middle" ShowDelete="true" />
</telerik:RadListBox>
<telerik:RadListBox runat="server" ID="radListMittentiBloccati"
Height="240px"
Width="350px"
SelectionMode="Multiple"
DataKeyField="ID"
DataTextField="Email"
DataValueField="ID"
AllowDelete="true"
AutoPostBackOnDelete="true"
OnDeleted="radListMittentiBloccati_Deleted"
>
<ButtonSettings ShowTransferAll="false" ShowTransfer="false" ShowReorder="false" Position="Right" VerticalAlign="Middle" ShowDelete="true" />
</telerik:RadListBox>
Give me a solution, please.
there's a way to distinguish between transfer event and delete event?
In my scenario the transferring an item from listBox1 to listBox2 is a simple change of type (white to black), while deleting is remove the item from the application at all.
My problem is with transfer event, so when I click on the transfer button, the delete event is launched and the item gone to deleted state!
This is my code:
<telerik:RadListBox runat="server" ID="radListMittentiAttendibili"
Height="240px"
Width="350px"
AllowTransfer="true"
AutoPostBackOnTransfer="true"
TransferToID="radListMittentiBloccati"
OnTransferred="radListMittentiAttendibili_Transferred"
AllowDelete="true"
AutoPostBackOnDelete="true"
OnDeleted="radListMittentiAttendibili_Deleted"
SelectionMode="Multiple"
DataKeyField="ID"
DataTextField="Email"
DataValueField="ID"
>
<ButtonSettings ShowTransferAll="false" ShowReorder="false" VerticalAlign="Middle" ShowDelete="true" />
</telerik:RadListBox>
<telerik:RadListBox runat="server" ID="radListMittentiBloccati"
Height="240px"
Width="350px"
SelectionMode="Multiple"
DataKeyField="ID"
DataTextField="Email"
DataValueField="ID"
AllowDelete="true"
AutoPostBackOnDelete="true"
OnDeleted="radListMittentiBloccati_Deleted"
>
<ButtonSettings ShowTransferAll="false" ShowTransfer="false" ShowReorder="false" Position="Right" VerticalAlign="Middle" ShowDelete="true" />
</telerik:RadListBox>
Give me a solution, please.