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

Issue while implemeneting MEF

0 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 11 Jan 2013, 05:54 AM
Hi,

My application xap size is more than 5MB, so i decided to split application in different module and load them on demand.
I have tab control and based on selection done in first tab i am loading other tab item (each tab item will contain content from one xap)

I implemented that and it is working fine to.but in some cases due to some problem tab items are loaded two time, one based on pervious selection and one for last selection for (as per logic implemented it should only loaded item based on last selection)
Ex.., if on first selection 2 new tab item are added , i closes newly added tab item and  on second selection 3 new and different tab items was supposed to get added (as per logic) but i am getting 2 old tabitems with old data and 3 new tab items

I verified logic atleast 10 times.and one interesting fact that i found is 'OnImportsSatisfied' method is getting called multiple time.

Thanks

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Jeremy
Top achievements
Rank 1
Share this question
or