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

RadListBox reordering issue when using itemtemplate

1 Answer 153 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 31 Jul 2009, 04:28 AM
Hello people,

I'm using the RadListBox for the first time. I used a custom item template as I want a radio button and text in each list item.
I bound data to the listbox in the code behind. This works fine.

I've allowed re-ordering and enabled drag and drop.

When I re-order an item either via drag and drop or via the reorder buttons the reordered item loses it's itemtemplate settings. ie. the radio button disappears and only the text is left.

Unfortunately the Telerik examples demonstrate either reordering or using a template but not both. Am I doing something wrong? A simple example would be useful.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 31 Jul 2009, 09:35 AM
Hi Dave,

Đ¢his is a bug in the RadListBox which we have just fixed. The fix is going to be available forth from the next internal build and will also be included in the next service pack. As a temporary resolution to this problem you can set the AllowPostbackOnReorder property of the RadListBox to true.

Sincerely yours,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ListBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or