This is a migrated thread and some comments may be shown as answers.

initialize data on group selection

2 Answers 76 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
Bart
Top achievements
Rank 1
Bart asked on 17 Oct 2016, 01:10 PM

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 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 19 Oct 2016, 02:09 PM
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!
0
Bart
Top achievements
Rank 1
answered on 26 Oct 2016, 01:41 PM

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

Tags
OutlookBar
Asked by
Bart
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Bart
Top achievements
Rank 1
Share this question
or