Hi,
I am using two radlistbox. transferToDestination working correctly. but transferFromDestination is not working.
I have attached my code here,,,
<telerik:RadListBox
runat="server" ID="RadListBoxSource"
Height="200px" Width="200px"
AllowTransfer="true" TransferToID="RadListBoxDestination" AllowReorder="true" OnClientItemDoubleClicked="setText">
<Items>
<telerik:RadListBoxItem Text="Argentina" />
<telerik:RadListBoxItem Text="Australia" />
<telerik:RadListBoxItem Text="Brazil" />
<telerik:RadListBoxItem Text="Canada" />
<telerik:RadListBoxItem Text="India" />
</Items>
</telerik:RadListBox>
<telerik:RadListBox
runat="server" ID="RadListBoxDestination" OnClientItemDoubleClicked="returnText"
Height="200px" Width="200px" />
javascript
------------
function setText(sender, args) {
var val = args.get_item().get_value();
sender.transferToDestination(args.get_item());
}
function returnText(sender, args) {
var val = args.get_item().get_value();
sender.transferFromDestination(args.get_item());
}
Please check code. i want two suggestion,
1. how to transferFromDestination in client side
2. if working transferFromDestination means first radlistbox display same order (whatever order displaying when page loaded.)
Please give me tips for these two things,
Thanks in Advance,
Dhamu
I am using two radlistbox. transferToDestination working correctly. but transferFromDestination is not working.
I have attached my code here,,,
<telerik:RadListBox
runat="server" ID="RadListBoxSource"
Height="200px" Width="200px"
AllowTransfer="true" TransferToID="RadListBoxDestination" AllowReorder="true" OnClientItemDoubleClicked="setText">
<Items>
<telerik:RadListBoxItem Text="Argentina" />
<telerik:RadListBoxItem Text="Australia" />
<telerik:RadListBoxItem Text="Brazil" />
<telerik:RadListBoxItem Text="Canada" />
<telerik:RadListBoxItem Text="India" />
</Items>
</telerik:RadListBox>
<telerik:RadListBox
runat="server" ID="RadListBoxDestination" OnClientItemDoubleClicked="returnText"
Height="200px" Width="200px" />
javascript
------------
function setText(sender, args) {
var val = args.get_item().get_value();
sender.transferToDestination(args.get_item());
}
function returnText(sender, args) {
var val = args.get_item().get_value();
sender.transferFromDestination(args.get_item());
}
Please check code. i want two suggestion,
1. how to transferFromDestination in client side
2. if working transferFromDestination means first radlistbox display same order (whatever order displaying when page loaded.)
Please give me tips for these two things,
Thanks in Advance,
Dhamu