Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > Dropdown menu stay opened after click.

Not answered Dropdown menu stay opened after click.

Feed from this thread
  • Radouan avatar

    Posted on Dec 8, 2011 (permalink)

    Hello,

    I'm using the following code to display a drop down button inside a Ribbon Bar. but, when user click on his selection (Grid or Chart), the menu stay opened.

    How can I change this ? I'm using exactelly the same code as the demo application, but I don't get the same behavior, what am I forgetting ?


    <telerik:RadRibbonGroup Header="MyHeader">
                                <telerik:RadRibbonDropDownButton LargeImage="Assets/Images/Selection.PNG" Size="Large" Text="Selection">
                                    <telerik:RadRibbonDropDownButton.DropDownContent>
                                        <telerik:RadContextMenu BorderThickness="0">
                                                                    <telerik:RadMenuItem Header="Grid" />
                                            <telerik:RadMenuItem Header="Chart"/>
                                        </telerik:RadContextMenu>
                                    </telerik:RadRibbonDropDownButton.DropDownContent>             
                                </telerik:RadRibbonDropDownButton>
    </telerik:RadRibbonGroup>
    Attached files

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Dec 12, 2011 (permalink)

    Hello Radouan,

    I wasn't able to reproduce this issue - I tested it with the Q3 2011 release and it worked as expected. Can you make sure that there isn't any style or code that sets the RadRibbonDropDownButton KeepOpen property to True?

    Also, since the RadContextMenu control isn't designed to be used as a DropDownContent, the control is basically designed to act as a context menu opened on a right mouse click. And this is why when it is displayed as a content of the RadRibbonDropDownButton.DropDownContent, it may not act correctly. This is why it might be better to use a ListBox or a RadMenu as the DropDownContent.

    Moreover, the RadRibbonBar control has many known limitations - selection issues, design limitations, etc. This is why we introduced a new implementation of the 'ribbon UI' - the RadRibbonView control. You can have a look at this blog post that describes the advantages of the new RadRibbonView control and  please consider replacing the RadRibbonBar control in your application with the RadRibbonView control.


    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

  • Radouan avatar

    Posted on Dec 14, 2011 (permalink)

    Hello,

    Okey I see. Thanks for reply ;)

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > Dropdown menu stay opened after click.