Creating Favovrites menu.

4 posts, 0 answers
  1. Yogesh Ramakrishnan
    Yogesh Ramakrishnan avatar
    1 posts
    Member since:
    Dec 2009

    Posted 28 Dec 2009 Link to this post

    Hi all, First time poster, long time visitor to the forums.
    Here is what I would like to do and I am looking for insights on how to do this with Rad Menu controls. 

    The win app we developed is getting a face lift with Telerik controls. (Yes! finally) We are planning on implementing our menu interface with Rad Menus along with Ribbon controls. I want to implement Favorites menu feature or some other form of "often used menu items" to be grouped together , may be a new ribbon tab??

    We have more than 100 screens and most users use only 10 to 15 screen on a day to day basis, so I would like the user to be able to pick and choose which screens they would like to access quickly so they don't have to sift thru menu's or ribbons to get to their most often used screens.

    May be create a hidden docked panel to quickly choose the screen and then it would collapse???

    We use security implementation as the underlying authentication and authorization engine. I was thinking of using the profile management features to save favorite screen/menu items.

    I am looking for any kind of input or suggestions on how to implement this.

    -Yogesh Ramakrishnan.
  2. Nick
    Nick avatar
    767 posts

    Posted 30 Dec 2009 Link to this post

    Hello Yogesh Ramakrishnan,

    Thank you for contacting us and your interest in our WinForms controls.

    I am not exactly sure that I understand completely your question about the Favorites functionality of your application, but my suggestion is to use either a menu or a Ribbon. If you choose a Ribbon, try to design your application to be as slick as possible. There should be only one canvas (e.g. the editing area of Word 2007) and everything should be accessible from the Ribbon. When designing the Ribbon interface think about the tasks that your end-users will perform and unite tasks in major groups (tabs).

    What is a screen in your application? Is it a form or say a user control? Hiding and showing things is possible, but will make your application difficult to use, after all you do not want to confuse your users. My suggestion is to use a container control such as RadDock, Splitter, or TabStrip. End-users are pretty familiar with them and they provide the container functionality you need.

    Unfortunately, bringing ASP.NET authentication and authorization to WinForms is not possible being tightly connected to web, and you need custom logging solution to log the frequency of a resource/screen usage again being written especially for internet.

    I hope that this helps.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Yogesh Ramakrishnan
    Yogesh Ramakrishnan avatar
    1 posts
    Member since:
    Sep 2009

    Posted 02 Feb 2010 Link to this post

    Sorry for the confusion. Here is how I am structuring my application.

    I plan on using the Rad RibbonForm as our main form. Ribbon as our navigation menu. Each menu item will load a user control within a Document window and add it to the RadDoc which comes with the RibbonForm. 

    So, the canvas is the RadDoc which contains the DocumentWindows within each windows is our UserControl which has the screen drawn in it. I use the RadButtontElements in the ribbon to open which ever screen I need. Hope this makes sense.

    The user control can contain any thing, an entry form, a report, a webpage, a search page what ever screen the the usercontrol is written for.

    I have working model with me. Please see a screen shot I have attached(Work in progress.) 

    My task is to populate a list of screen names (for example from my 2nd screen shot,) "Assign tube", "Lot Details" to the Recent items menu list (or the start menu right menu items list). I was thinking of implementing Context menu for DocWindows there by allowing me to add that window to the Favorite Screen list.

    What would be your suggestion for populating and persisting this list for a user?

    BTW, we have successfully implemented ASP.NET authentication and authorization for win apps. 

    VS 2008 enables the use of "Client Authentication Services" for win apps. These services are based on ASP.NET authentication services but enhanced with Ajax extensions.

    Check it out. 

    Please let me know your thoughts. 

  4. Deyan
    Deyan avatar
    2147 posts

    Posted 08 Feb 2010 Link to this post

    Hi Yogesh,

    Thanks for writing and for your questions. In general, you can choose many different ways to implement a favourites menu in your application. For example, you can use a file to store the last 10 documents you have opened and load it each time when your application starts. Alternatively, you can use a queue to store the data at runtime and deserialize/serialize the data in that queue when starting/stopping the application. In both cases, you need to create RadMenuItem instances based on the data in that queue and put them in the Application Menu of RadRibbonBar. I hope this is helpful. You can write back anytime you need further assistance.

    Kind regards,
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top