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. :)
Thanks for your reply.
Yes now you have got it correctly. I have tried with the following code but still not working.
CurrentGroup = e.oSelectedGroup
Select Case CurrentGroup
Case MDIMenuRecentList
If True Then
'User clicked an item on the PRJ List tool.
'Get the ListToolItem which was clicked
'Open the document based on the ListToolItem
Exit Select
End If
Case MDIRecentButton
UltraToolbarsManager1.Tools("RecentPopupTool").SharedProps.Visible = True
Case Else
End Select
In above sample case MDIMenuRecentList will execute when context menu is clicked and it is working as expected but another case MDIRecentButton should execute when button tool from QAT is clicked. I am trying to set visibility of the tool but its not working. Is there any way to get the desired output?
please suggest.
Thanks again.
Regards,
Hello.
Have you explored this help article?
http://help.infragistics.com/NetAdvantage/WinForms/2010.3/CLR2.0/?page=WinToolbarsManager_Office_2010_Style_Application_Menu.html
I'm not if I understand you fully. It sounds like you already have code to display a recently used list of files that displays when you handle the tool click event. From your description, it sounds as if you can get this list to display when you click a tool in the context menu, but you can't get this to work if you click the same tool from the QAT. Please correct me if i am wrong.
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