This is a migrated thread and some comments may be shown as answers.

Value/Text transfer

1 Answer 91 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Peter Smith
Top achievements
Rank 1
Peter Smith asked on 13 Nov 2009, 12:49 PM
*** EDIT ***
I realized that you need to use the

DataValueField

In order to populate that value correctly not the

DataKeyField


I would like to transfer both the ListItem Value and Text between 2 list boxes.

Is this possible using the standard RadListBox control?

The Value would contain a record id and the text...well some text...

Thanks
Peter

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Nov 2009, 08:17 AM
Hi Peter,

RadListBox supports items transferring via the transfer buttons, mouse double click and drag and drop. To enable the transfer functionality you need to set the AllowTransfer property to true and also set the TransferToID to as the destination ListBox control's ID. Checkout the online demo which illustrates the feature.
ListBox / Transfer

Regards,
Shinu.
Tags
ListBox
Asked by
Peter Smith
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or