This project is read-only.

Global Toastprompt

Aug 23, 2011 at 3:30 AM

Description  here  :

so if there is a global Toastprompt not depend on specified page. it would be easy to solve that problem

Aug 23, 2011 at 5:07 PM

To the best of my knowledge, that isn't possible.  Controls needs to be appended onto a page.  From an API level, I only have access to the current visual tree.  I'm experimenting with a few new features that are in mango but I doubt they'll resolve this issue.

If your code says:

  1. Append control onto page
  2. Navigate Away

The order of execution will be putting a control onto the current visual stack, then you expressly stated to destroy that visual stack by navigating to a new page.  You, the programmer, must be aware of doing stuff like that and use tools like the Dispatcher, NavigatedTo and other ways to keep track of state.