tags:

views:

67

answers:

2

Hello guys, I've got a problem with my program.

Here is the link: http://dl.dropbox.com/u/2734432/TabbedInterface.7z

Once you have opened both tabs, you'll start losing the references to other collections of the current item in the view. That is because these IDs are nullable and once you switch over to the other tab they'll become null. My question is: why and how can I correct that behavior?

If you change the int? to int there are no more problems, but I need them to be nullable!

A: 

The tabbed interface in the article is half baked, its has other problems as:

  • It opens two tabs for the same record
  • The list get changed even when the changes are not commited by the user
  • You can't doble-click the list to go the record
  • etc.

Check other frameworks as Prism for more ready-to-use solutions.

Eduardo Molteni
A: 

You might have a look at the WPF Application Framework (WAF). It contains the Writer sample application which comes with an improved tabbed interface.

jbe