RadContectMenu Not getting close

2 posts, 0 answers
  1. Rajeev
    Rajeev avatar
    44 posts
    Member since:
    Feb 2008

    Posted 18 Oct 2013 Link to this post

    <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
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 21 Oct 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top