This project is read-only.

Backstage page validation - stop them leaving until valid

Nov 5, 2012 at 3:57 PM

I would like to have backstage pages for user options etc using the BackstageTabControl with BackstageTabItem's.

If I have a page of options and the user enters something invalid then I don't want them to move to another BackstageTabItem or leave the backstage menu until the page is valid.  I don't see any events for Closing or Changing etc.  

Has anyone any ideas about how this may be achieved?


Nov 6, 2012 at 9:33 AM

You will run into many problems doing this.

I would recommend using a modal dialog if you really want to prevent users from leaving.

Nov 6, 2012 at 3:46 PM

I was thinking the same thing but I just wanted to check if anyone else was doing this.  Thanks.