Passing parameters between pages using page flow

Topics: Web Client Software Factory
Sep 26, 2007 at 9:43 PM
How do I pass parameters between pages using page flow?
Sep 27, 2007 at 4:00 PM

You can use the UserData property which exposes a PageFlowState. You can add entries with all your parameters that you want to pass to another view.
The current version of Page Flow Application Block doesn’t bring support to query string management.

// View1 - Create an entry to the UserDate property.
_myPageFlow.UserData["Parameter"] = myParameter;
// …
// View2 - Accede to the parameter
myParameter = (MyParameter) _myPageFlow.UserData["Parameter"];
I recommend to you that you read the topic Web Client Software Factory – June 2007 -> Application Blocks ->Page Flow Application Block -> Development Activities -> Using State with Page Flow in the WCSF’s documentation

Please let me know if this helps.

Mariano Converti
Sep 27, 2007 at 8:57 PM
Thanx a lot. I'll read it.