radcontextmenu keep force after close.

2 posts, 1 answers
  1. Jingmeng
    Jingmeng avatar
    18 posts
    Member since:
    Jun 2010

    Posted 09 May 2011 Link to this post

    hey, i facing a problem with RadDropDownButton, the dropdowncontext is RadContextMenu with only one radmenuitem, and this radmenuitem has two children, 
    the problem i have is so far, once the mouse go over the RadContextMenu, and then put it on top of its children item, and instead of click it, i drop the mouse outside of this control and click, RadContextMenu will auto close, but when i click RadDropDownButton again, that RadContextMenu will get force, and i cant open the children radmenuitem..

    here is the code

    <Grid x:Name="LayoutRoot">
        <telerik:RadDropDownButton Name="radbtn" Width="200" Height="30">
                <telerik:RadContextMenu >
                    <telerik:RadMenuItem Header="Test" >
                        <telerik:RadMenuItem Header="Click1" />
                        <telerik:RadMenuItem Header="Click2" />


  2. Answer
    Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 12 May 2011 Link to this post

    Hi Jingmeng,

    Unfortunately this scenario is not supported. I'd recommend you use the approach described bellow:

    <telerik:RadButton Name="radbtn" Width="200" Height="30">
            <telerik:RadContextMenu EventName="Click" Placement="Bottom">
                <telerik:RadMenuItem Header="Test">
                    <telerik:RadMenuItem Header="Click1" />
                    <telerik:RadMenuItem Header="Click2" />

    Let me know how this works for you.

    Kiril Stanoev
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top