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

RadContectMenu Not getting close

1 Answer 29 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Rajeev
Top achievements
Rank 1
Rajeev asked on 18 Oct 2013, 09:13 AM
<telerik:RadContextMenu ID="Menu1"  runat="server" EnableEmbeddedSkins="false" Skin="NextGen"
        ClickToOpen="false" OnClientItemClosed="CloseSubMenu" EnableEmbeddedBaseStylesheet="false" TabIndex="0" ToolTip="Customise Grid">
        <Items>
            <telerik:RadMenuItem Text="Customise" Value="0" Enabled="true" TabIndex="0" ToolTip="Customise">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Text="Save " Value="1" Enabled="true" TabIndex="0" ToolTip="Save Column Width">
            </telerik:RadMenuItem>
        </Items>
        <Targets>
            <telerik:ContextMenuControlTarget ControlID="lnkCutomize"/>
        </Targets>
    </telerik:RadContextMenu>

I am opening the menu item on the link button key and click event. but after the focus gone by pressing tab button from the menu. menu is not getting closed. what should i do to close my menu after it lost focus.

thanks
Rajeev

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 21 Oct 2013, 06:46 AM
Hi Rajeev,

By default the ContextMenu is closed upon click on the document and not on blur. You could use the client-side hide method to hide it manually.

Regards,
Dimitar Terziev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Menu
Asked by
Rajeev
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or