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

RadTreeView context menu not working in Chrome

3 Answers 108 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jerry
Top achievements
Rank 1
Jerry asked on 16 Aug 2011, 05:24 PM
I am using VS.Net 2010. I have a RadTreeView control that has a RadTreeViewContextMenu. The RadTreeView control is defined in a User Control. This user control is used in a ASP.Net form inside of a modal popup window.

When the form is run and the modal popup is displayed, the context menu displays as expected when a node is right clicked. This works fine in IE, and FireFox.

The problem we are having is that the context menu is NOT displaying in Chrome under the above circumstances.

However, without the modal popup, the context menu does display.

Why won't the context menu display in Chrome with the control inside of a modal popup?

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 18 Aug 2011, 01:49 PM
Hi Jerry,

It sound like a known bug in the Google Chrome that is discussed here.

All the best,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Babak
Top achievements
Rank 1
answered on 22 Oct 2013, 01:19 AM
I have same problem almost!

i'm using radtreeview with RadcontextMenu in RadAjaxPanel

in first pageload every think work very fine !
i can right click on the radtreeview nodes and radcontextmenu will opened

but when i select one menu item the RadcontextMenu dont work again 
i'v tested this issue in IE Mozilla Chrome . but all Browsers have same problem

what shall i to do ??
0
Shinu
Top achievements
Rank 2
answered on 22 Oct 2013, 04:28 AM
Hi Babak,

Unfortunately I couldn't replicate the issue at my end. I have created a sample code to change the text of RadTreeNode on OnContextMenuItemClick event which works as expected.

ASPX:
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
    <telerik:RadTreeView ID="RadTreeView1" runat="server" OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick">
        <ContextMenus>
            <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenu1" runat="server">
                <Items>
                    <telerik:RadMenuItem Text="New" runat="server">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Rename" runat="server">
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadTreeViewContextMenu>
        </ContextMenus>
        <Nodes>
            <telerik:RadTreeNode Text="Node1" runat="server" ContextMenuID="RadTreeViewContextMenu1">
                <Nodes>
                    <telerik:RadTreeNode Text="Node1.1" runat="server">
                    </telerik:RadTreeNode>
                    <telerik:RadTreeNode Text="Node1.2" runat="server">
                    </telerik:RadTreeNode>
                </Nodes>
            </telerik:RadTreeNode>
            <telerik:RadTreeNode Text="Node2" runat="server" ContextMenuID="RadTreeViewContextMenu1">
                <Nodes>
                    <telerik:RadTreeNode Text="Node2.1" runat="server">
                    </telerik:RadTreeNode>
                    <telerik:RadTreeNode Text="Node2.2" runat="server">
                    </telerik:RadTreeNode>
                </Nodes>
            </telerik:RadTreeNode>
        </Nodes>
    </telerik:RadTreeView>
</telerik:RadAjaxPanel>

C#:
protected void RadTreeView1_ContextMenuItemClick(object sender, Telerik.Web.UI.RadTreeViewContextMenuEventArgs e)
{
    if (e.MenuItem.Text == "Rename")
    {
        e.Node.Text = "Renamed";
    }
}

Please provide your complete code for understanding the scenario and for more help.
Thanks,
Shinu.

Tags
TreeView
Asked by
Jerry
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Babak
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or