Click here to Skip to main content
11,920,211 members (45,879 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# Windows .NET Office C#4.0 Win7 , +

I am using the Microsoft Ribbon Control but I got only one thing which does not work:

Image: Mini Toolbar - Ribbon
If I use the xml definition into a main ribbon I can get the PreviewEvent correctly from a combobox with GalleryItemPropertySet items.

From the minitoolbar, the preview event is not fired and I cannot apply the changes on the fly.

      <MiniToolbar Name="MiniToolbar">
          <ComboBox CommandName="cmbFunctionTypes" IsAutoCompleteEnabled="false" IsEditable="false"/>
            <ComboBox CommandName="cmbResponseChannels" IsAutoCompleteEnabled="true" IsEditable="false"  ResizeType="NoResize"/>
            <ComboBox CommandName="cmbReferenceChannels" IsAutoCompleteEnabled="true" IsEditable="false" ResizeType="NoResize" />
        <ContextMap CommandName="cmdContextMap" ContextMenu="ContextMenu" MiniToolbar="MiniToolbar" />

I was hoping to get the control handle directly but the context pane has a strange class name:NUIPane, NUIHWND.

What could you recommand me to solve that issue ?
This is really stranged maybe do I need to speficy something in the xml ribbon designer.

Thank you very much in advance.

Best regards.
Posted 29-Jun-13 12:27pm
Edited 1-Jul-13 8:36am
SuperMiQi 30-Jun-13 5:04am
This works well when we use combobox in a main docked ribbon control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 455
1 phil.o 170
2 CPallini 150
4 F-ES Sitecore 130
0 OriginalGriff 6,778
1 KrunalRohit 4,495
2 Sergey Alexandrovich Kryukov 3,153
3 George Jonsson 2,810
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 1 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100