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

Focus stuck in TreeList

1 Answer 43 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Gunnar
Top achievements
Rank 1
Gunnar asked on 15 May 2014, 10:51 AM
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>

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 20 May 2014, 11:29 AM
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.

 
Tags
TreeList
Asked by
Gunnar
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or