I was wondering if there are any examples of how to list recently opened documents by my app in the ribbon menu? I am using C# .net 3.5.
Thanks,
Dave
3 Answers, 1 is accepted
0
Deyan
Telerik team
answered on 30 Nov 2009, 11:32 AM
Hello Dave,
Creating a most recent documents list is a task which can depend on many things related to the application you develop. We do not have such an example since it would be nothing more that inserting items in the RadApplicationMenu items collection:
Also when this happens depends entirely on the design and organization of your application. For instance, you can insert items in this collection each time the user opens a document and you can keep track of the last 10 opened documents etc.
So I understand this, but how do you handle the click event for that item since it is being dynamically created? Usually I use the IDE to handle adding click events, I don't know how to do it for dynamically added items.
0
Peter
Telerik team
answered on 23 Sep 2010, 01:06 PM
Hi Matt,
Thanks for writing.
You should programmatically subscribe to the MouseClick event in this case:
Please refer to the code snipped below:
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items