Forum  General Visual ...  How do I...?  Close Ribbonbar Startmenu after click?
Previous Previous
 
Next Next
New Post 7/24/2012 2:56 AM
  matthiasdegroot
6 posts
No Ranking


Close Ribbonbar Startmenu after click? 

 Hello,

I am looking at the Ribbonbar StartMenu feature. It is very nice and it also works very good!
I am struggling with 1 small issue however: I add a ToolbarButtonItem eg with the name "New document" to the right panel, and in the "Click" event, I handle this action. However, the start menu stays open. If you look at the Ribbonbar in Office, after choosing something, the start menu is closed automatically.

How can I achieve that the start menu closes automatically (or by code) after clicking on an item?

Regards,

Matthias

 
New Post 7/28/2012 2:17 PM
  palli
14334 posts
1st Level Poster




Re: Close Ribbonbar Startmenu after click? 

 Hi Matthias,

There is currently no API to accomplish this, so I opened a new tracker entry for considering implementing it. Please view it here and follow up on our progress.

Please view that tracker entry as it contains a temporary workaround suggestion using reflection. Reflection is not the best method to make things work as it is accessing private properties that may change in a future version because they are not part of the control's public API, but still it can well serve as a temporary workaround.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 8/1/2012 4:05 PM
  palli
14334 posts
1st Level Poster




Re: Close Ribbonbar Startmenu after click? 

 Hi Matthias,

Please make sure you again review the tracker entry I created, as a new workaround was posted that does not involve reflection. I believe that this entry will even be closed as a "Won't fix" entry, as this should serve as a good way to close that form.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Close Ribbonbar Startmenu after click?
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS