initialize data on group selection

3 posts, 0 answers
  1. Bart
    Bart avatar
    16 posts
    Member since:
    May 2014

    Posted 17 Oct Link to this post

    Hi all,

    I have a question, I have created an application with an outlook like interface based on the example project.

    http://www.telerik.com/products/wpf/outlookbar.aspx

    At the moment my all my data is initialized when the application starts.

    I would like to have the possibility to run a function when I click on a menu item(schedular or E-mail in the example), so I can initialize the data when clicking on the menu item so I don't have to initialize everything up front.
    is there a function for this?

    this would give me the following benefits. initial loading should be faster and when data is changed during the application run I can easily update this by moving to another menu item and back.

     

    thank you for your help.

  2. Dinko
    Admin
    Dinko avatar
    204 posts

    Posted 19 Oct Link to this post

    Hi Bart,

    We are assuming that your example is based on our online demo RadOutlookBar First Look. The control doesn't provide such predefined functions as explained in your post. Basically, you can subscribe to the SelectionChanged event of the RadOutlookBar and change the Content of the selected RadOutlookBarItem. If we are in the wrong direction you can elaborate more on your approach? Which item you want to click and which DataContext you want to change? Any additional information is highly appreciated in order to better understand your approach.

    Regards,
    Dinko
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Bart
    Bart avatar
    16 posts
    Member since:
    May 2014

    Posted 26 Oct in reply to Dinko Link to this post

    Hi Dinko,

    Thank you for your answer, I made some fixes based on SelectionChanged  which are find for now.

    If I have any other questions I will let you know.

     

    Regards Bart

Back to Top