ItemTemplate with TextBox issue

2 posts, 1 answers
  1. KDL
    KDL avatar
    36 posts
    Member since:
    Aug 2005

    Posted 16 Feb 2012 Link to this post

    If EnableDragAndDrop="true" the Textbox in ItemTemplate is not editable. Interestingly, I can right-click in the TextBox and it becomes editable but normal left-click does nothing. Setting EnableDragAndDrop="false" makes everything work normally.

    Seems like a bug to me, but is there some type of work-around or additional property that needs to be set? Thanks!

    The following code works fine, but setting EnableDragAndDrop="true" stops the TextBox from being edited (unless you right-click it as mentioned prior).

    <telerik:RadListBox ID="RadListBox2" runat="server"
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem1" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem2" />
            <div >
                    <%# DataBinder.Eval(Container, "Text")%>
                    <div style="float:left;">
                        <asp:CheckBox ID="chkShowTitle" runat="server" Text="Checkbox" />
                    <div style="float:right;">
                        Title <asp:TextBox ID="txtTitle" runat="server" />

  2. Answer
    Bozhidar avatar
    1146 posts

    Posted 21 Feb 2012 Link to this post

    Hi Kent,

    This is a know bug of RadListBox, and I'm happy to inform you that it has recently been fixed. The fixed version will be available for download in next week's internal build.
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top