I have two radlistbox inside of a radgrid, I want to use the transfer between this two radlistbox, but only works the first transfer, later if I want to transfer again it doesn't work in any direction. What am I missing?
Thanks!
<
telerik:GridTemplateColumn
HeaderText
=
"Plants"
UniqueName
=
"Plants"
Visible
=
"false"
>
<
EditItemTemplate
>
<
telerik:RadListBox
Width
=
"200px"
RenderMode
=
"Lightweight"
runat
=
"server"
DataKeyField
=
"PlantId"
ID
=
"rdlPlants"
EnableDragAndDrop
=
"True"
Skin
=
"Bootstrap"
SelectionMode
=
"Multiple"
AutoPostBackOnTransfer
=
"true"
Height
=
"200px"
AllowTransfer
=
"true"
TransferToID
=
"rdlSelectedPlants"
OnItemDataBound
=
"rdlPlants_ItemDataBound"
OnTransferred
=
"rdlPlants_Transferred"
>
<
ButtonSettings
ShowTransferAll
=
"false"
ShowReorder
=
"false"
></
ButtonSettings
>
<
ItemTemplate
>
<%# Eval("Pint").ToString() + " - " + (Eval("Name1") != null ? Eval("Name1").ToString() : string.Empty) %>
</
ItemTemplate
>
</
telerik:RadListBox
>
<
telerik:RadListBox
RenderMode
=
"Lightweight"
Width
=
"200px"
ID
=
"rdlSelectedPlants"
runat
=
"server"
DataKeyField
=
"PlantId"
Height
=
"200px"
Skin
=
"Bootstrap"
OnItemDataBound
=
"rdlPlants_ItemDataBound"
>
<
ButtonSettings
ShowTransfer
=
"false"
ShowTransferAll
=
"false"
></
ButtonSettings
>
<
ItemTemplate
>
<%# Eval("Pint").ToString() + " - " + (Eval("Name1") != null ? Eval("Name1").ToString() : string.Empty) %>
</
ItemTemplate
>
</
telerik:RadListBox
>
</
EditItemTemplate
>
<
InsertItemTemplate
>
<
telerik:RadListBox
Width
=
"200px"
RenderMode
=
"Lightweight"
runat
=
"server"
DataKeyField
=
"PlantId"
ID
=
"rdlPlants"
EnableDragAndDrop
=
"True"
Skin
=
"Bootstrap"
SelectionMode
=
"Multiple"
AutoPostBackOnTransfer
=
"true"
Height
=
"200px"
AllowTransfer
=
"true"
TransferToID
=
"rdlSelectedPlants"
OnItemDataBound
=
"rdlPlants_ItemDataBound"
OnTransferred
=
"rdlPlants_Transferred"
>
<
ButtonSettings
ShowTransferAll
=
"false"
ShowReorder
=
"false"
></
ButtonSettings
>
<
ItemTemplate
>
<%# Eval("Pint").ToString() + " - " + (Eval("Name1") != null ? Eval("Name1").ToString() : string.Empty) %>
</
ItemTemplate
>
</
telerik:RadListBox
>
<
telerik:RadListBox
RenderMode
=
"Lightweight"
Width
=
"200px"
ID
=
"rdlSelectedPlants"
runat
=
"server"
DataKeyField
=
"PlantId"
Height
=
"200px"
Skin
=
"Bootstrap"
OnItemDataBound
=
"rdlPlants_ItemDataBound"
>
<
ButtonSettings
ShowTransfer
=
"false"
ShowTransferAll
=
"false"
></
ButtonSettings
>
<
ItemTemplate
>
<%# Eval("Pint").ToString() + " - " + (Eval("Name1") != null ? Eval("Name1").ToString() : string.Empty) %>
</
ItemTemplate
>
</
telerik:RadListBox
>
</
InsertItemTemplate
>
</
telerik:GridTemplateColumn
>