RadListBox reordering issue when using itemtemplate

2 posts, 0 answers
  1. Dave
    Dave avatar
    11 posts
    Member since:
    Apr 2009

    Posted 30 Jul 2009 Link to this post

    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.

  2. Genady Sergeev
    Genady Sergeev avatar
    1595 posts

    Posted 31 Jul 2009 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top