BTW this works fine in Firefox but not in IE7 or 8.
I have a TreeView with ContextMenu's that call the following JS:
I also have a RadAjaxManager so that this treeview triggers another panel:
In IE8, when I hit the Rename Context menu, for an instant the node appears editable but then it immediately looses focus and is not editable. I also tried wrapping both the TreeView and the other Panel in a RadAjaxPanel but had the same result.
Not sure if this is a bug or if there is a workaround.. Thanks!
I have a TreeView with ContextMenu's that call the following JS:
| function onClientContextMenuItemClicking(sender, args) { |
| var menuItem = args.get_menuItem(); |
| var treeNode = args.get_node(); |
| menuItem.get_menu().hide(); |
| switch (menuItem.get_value()) { |
| case "rename": |
| treeNode.startEdit(); |
| break; |
| } |
| } |
I also have a RadAjaxManager so that this treeview triggers another panel:
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadTreeViewDockets"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="PanelViewArea" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
In IE8, when I hit the Rename Context menu, for an instant the node appears editable but then it immediately looses focus and is not editable. I also tried wrapping both the TreeView and the other Panel in a RadAjaxPanel but had the same result.
Not sure if this is a bug or if there is a workaround.. Thanks!