![Avatar](https://secure.gravatar.com/avatar/7e38a48cc708c972dd5d39b46dffe597.jpg?s=64&d=identicon&r=g)
Hello! My scenario is firstly to save the dock site layout of my TabbedMdiContainer control by using DockSiteLayoutSerializer.SaveToString() method to get a string for the layout. And then I need to load this string and restore the view by using DockSiteLayoutSerializer.LoadFromString() method. But after this, the refreshed TabbedMdiContainer control doesn't work to fire SelectionChaged event. The related data binding on SelectedTabIndex doesn't work either. As I have a big work based on the SelectionChanged mechanism, so my work just stopped now. Can anyone help me on that? thanks so much!!
And I've made an example project to demo this problem, but where am I supposed to upload my sample project?
Sorry I didn't make my story clear. Just forget about the event, let's just focus on the data binding, my data binding for the SelectedTabIndex property of TabbedMdiContainer control just doesn't work. The SelectedTabIndex value kept being -1. And even I did click to switch the tab, the set method of the bound property in my viewmodel didn't been triggerred. I made an example project to show what I'm talking about. Is there any way that I can send it to you?
And I've uploaded my example project code into OnDrive. Please try getting the zipped file TabEvent.zip by this link: http://1drv.ms/1DrljKI
If this way is not what you always do for providing example project, please just give me a way to upload my code. Thanks a lot.
[Modified 10 years ago]