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

IE8 OnEdit Automatically Ends Editing

1 Answer 22 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kai
Top achievements
Rank 1
Kai asked on 12 Apr 2010, 03:32 PM
When I'm editing a tree node (renaming it) and the edit textbox streches beyond the width of the tree view, it will automatically end the editing.  This only happens in IE8 for me.  I've tried it in FF and I get a horizontal scroll bar in the tree view and the textbox stays as is (which is expected).  I've set the width of my Tree View to 220px so that I do get a horizontal scroll bar when I have folder names or child folders that extend beyond the 220px.

Here is the interesting thing.  If I add enough child folders so that I do get the horizontal scroll bar in IE8, then when I rename a folder that extends beyond the scroll width, it just adjusts to that and works as it should.  I'm thinking that his is an issue with IE8 and was wondering if there was way to make the horizontal scroll bar always visible for the Tree View, in hopes that by doing so would solve this issue.

- Kai Thao

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 14 Apr 2010, 03:05 PM
Hello Kai,

I tried reproducing your problem into a (very simple) test project, but the editing seem to work as expected in IE8 even when the textbox extends beyond the TreeView's width. Please find attached the test project and please let me know if I am missing something in the test.

As for setting the TreeView to always show a horizontal scrollbar, you can set style="overflow-x: scroll", e.g.:

<telerik:RadTreeView runat="server" style="overflow-x: scroll" AllowNodeEditing="true" Width="220px">

Best wishes,
Dimitar Milushev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Kai
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or