This project has moved and is read-only. For the latest updates, please go here.

Dynamically add tabs in WAF (Booksample)

Sep 2, 2012 at 11:30 AM


I started from the Booksample and was trying to dynamically open/close tabs.

In stead of every view already added to the tab I want a user to select a certain view he wants to open and dynamically add it to the tabcontrol. I also want to open more tabs of the same view.

How can I do this?

Sep 6, 2012 at 6:55 PM

I would recommend having a look at:

  • Writer sample application: Dynamically adds and removes Tabs to the TabControl. The user can control this.
  • Book Library sample application: The Report tab is added dynamically by code when the Reporting extension is loaded.
Sep 6, 2012 at 9:05 PM


I'm currently looking at the Writer sample and trying to combine it with the book library example.

Are you thinking of making an example which does this? In stead of seeing the detailview on the same page as the listview?

What I'm trying to accomplish

- Let the user open only 1 Listview per model (e.g. books, persons)

- Let the user open multiple detail views of an entity (e.g. open detail of "Harry Potter" and open detail of "Hermoine Granger")