RadListBox UpdatePanel Breaks Drag and Drop

1 posts, 0 answers
  1. Kelly Arnold
    Kelly Arnold avatar
    1 posts
    Member since:
    May 2010

    Posted 07 Oct 2011 Link to this post

    I have searched for a solution to this...so if I overlooked I apologize. Please advise as to where to find solution.
    I have 2 RadListBox elements each wrapped in asp:UpdatePanel with UpdateMode="Conditional". When I call .Update on the update panel containing the drop destination control, it seems the drag and drop (even move with buttons) functionality is no longer available.

    <div style="float:left; width:285px;">
    <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
               <telerik:RadListBox ID="rlb1" runat="server" AllowTransfer="true" EnableDragAndDrop="true" TransferMode="Copy" TransferToID="rlb2" SelectionMode="Multiple" ButtonSettings-VerticalAlign="Middle" ButtonSettings-ShowTransferAll="false" AllowTransferOnDoubleClick="true" Height="300px" Width="100%"></telerik:RadListBox>
    <div style="float:left; width:285px; padding:0px 0px 0px 10px;">
        <asp:UpdatePanel ID="up2" runat="server" UpdateMode="Conditional">
               <telerik:RadListBox ID="rlb2" runat="server" EnableDragAndDrop="true" AllowReorder="true" AllowDelete="true" AllowTransferDuplicates="false" ButtonSettings-VerticalAlign="Middle" Height="300px" Width="100%"></telerik:RadListBox>


    I downloaded the latest release and doesn't change this behavior.


    I have opened a support ticket for this issue. Once resolved I will post the answer for anyone else having this issue.

    So it seems the issue is created when an async postback occurs and only one of the two controls is updated (.Update on the update panel). The immediate solution is to update both controls (.Update on both update panels).  I have asked for this to be addressed in a future release as I strongly believe this is a bug. Hope someone finds this helpful.

    Seems the "answer" is to update both controls. ie...Seperate update panels, call .Update on both.
    You can view the ticket at http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=471747
Back to Top