Hi,
I'm using RadControls for ASP.NET AJAX Q3 2012.
I have two list boxes which I want to transfer item between them bidirectional. everything works fine except when I use AllowTransferOnDoubleClick="True". In this case although I set TransferMode="Copy", the items moved when they exist in other list box.
Where is the problem?!
Thanks for your concern
I'm using RadControls for ASP.NET AJAX Q3 2012.
I have two list boxes which I want to transfer item between them bidirectional. everything works fine except when I use AllowTransferOnDoubleClick="True". In this case although I set TransferMode="Copy", the items moved when they exist in other list box.
<
telerik:RadListBox
runat
=
"server"
DataKeyField
=
"ClassID"
ID
=
"RadListBox2"
DataSourceID
=
"SqlDataSource1"
DataTextField="ClassName"
TransferToID="RadListBox1" Style="top: 1px; right: 0px;
width: 191px;" AllowTransferOnDoubleClick="True" TransferMode="Copy"
DataValueField="ClassID" OnDataBound="RadListBox2_DataBound">
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
</
telerik:RadListBox
>
<
telerik:RadListBox
ID
=
"RadListBox1"
runat
=
"server"
TransferMode
=
"Copy"
AllowTransfer
=
"True"
AppendDataBoundItems="True" DataKeyField="ClassID"
DataSourceID="SqlDataSource2"
DataTextField="ClassName" TransferToID="RadListBox2" Culture="fa-IR" Style="top: 0px;
right: 9px; width: 191px;"
DataValueField="ClassID"
AllowTransferOnDoubleClick="True" EnableMarkMatches="True">
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
</
telerik:RadListBox
>
Where is the problem?!
Thanks for your concern