Hi,
I have added one button in QAT(Quick Access Toolbar). I call it as Open Recent File. on click of this button I want to open File Menu tab which will show the Recent Tool selected which includes list in backstage View. I am using C# .NET and infragistics 2010.3
I have tried a lot but not getting the desired output.
I am new to infragistics.Any help will be appreciated.
Thanks in advance. :)
Hello.
The ToolbarsManager has a ToolClick event which is where you can respond to tool clicks. You simply check e.Tool.Key to find out which tool was clicked. Here is an example in the help of how to use this event:
http://help.infragistics.com/NetAdvantage/WinForms/2010.3/CLR2.0/?page=Infragistics2.Win.UltraWinToolbars.v10.3~Infragistics.Win.UltraWinToolbars.UltraToolbarsManager~ToolClick_EV.html
You mentioned that you want to open a file menu tab when you click a specific button. Is this file menu tab a menu item or is it another ribbon tab? Each ribbon hab has a BringToView() method which you can call to bring that tab into view.
Each Ribbon tab can have multiple RibbonGroups and each RibbonGroup also has a BringToView()method. I am not entirely clear on what you want to do when that button is clicked, but handling the ToolClick event is the first thing to do. Could you provide some more details on what exactly you are looking to do?
Thanks for reply.
I have already triggered the click event but after that, I want to show the Most Recently Used List (MRU list) of documents from context menu somewhat similar to MS Office 2010, i.e. when we click on the open recent button from quick access toolbar, it shows the file menu with the list of recently opened documents in the backstage view.
I want to implement similar functionality in my application.
On ToolClick event I have used switch case to identify which button is clicked and if clicked button is "Open Recent File" then display the recent list to the user so that user can navigate to other document.
This is happening through context menu but not through QAT.
Please suggest.
Thanks for your help.
Regards
Regards,