Focus stuck in TreeList

2 posts, 0 answers
  1. Gunnar
    Gunnar avatar
    28 posts
    Member since:
    Aug 2009

    Posted 15 May 2014 Link to this post

    I have a TreeList that contains a TextBox and an accompanying update button.

    If I change the textbox and click the Update button, everything works as expected.

    If I change the textbox and press Enter, the focus is stuck in the TextBox. When I then click a (submit)button outside of the TreeList, no event is triggered. If I first click anywhere outside the TextBox and outside the button and after that click the button, the click event is fired.

    Of course, this problem only occur in IE (9), not in Firefox.

    Anyone with a clue to why this happen?

    <telerik:TreeListTemplateColumn HeaderText="Quantity">
        <ItemTemplate>
            <asp:Panel ID="Panel_Quantity" runat="server" DefaultButton="RadButton_UpdateCart">
                <asp:Label ID="Label_Quantity" runat="server" Text='<%# Eval("Quantity","{0:N0}") %>'
                    Width="25px"></asp:Label>
                <asp:TextBox ID="TextBox_Quantity" runat="server" Text='<%# Eval("Quantity","{0:N0}") %>'
                    Width="25px"></asp:TextBox>
                <telerik:RadButton ID="RadButton_UpdateCart" runat="server" Text="" OnClick="RadButton_UpdateCart_Click"
                    CommandArgument='<%#Eval("CartItemID") %>' Icon-PrimaryIconCssClass="rbRefresh" CausesValidation="false"
                    Width="25px">
                </telerik:RadButton>
            </asp:Panel>
        </ItemTemplate>
        <HeaderStyle HorizontalAlign="Left" Width="80px" />
        <ItemStyle HorizontalAlign="Left" />
    </telerik:TreeListTemplateColumn>
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 20 May 2014 Link to this post

    Hi Gunnar,

    Could you please let me know which is the controls version used on your end?
    I have tested similar scenario with the latest version of the controls on my side and the presented issue does not appear.
    Could you please update to the latest version of the controls if you are using an older one and verify how it goes?


    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top