10-09-2009 01:29 PM
How do you inkove and pass values to a specific form (Smart Part)? Anyone has an example?
10-09-2009 10:26 PM
There are a few ways to do that. First, the PageWorkItem has a built in State where you can easily pass values from SmartPart to SmartPart on the same page.
// add myvalue
this.PageWorkItem.State["MySavedValue"] = myvalue;
// then later to retrieve
string myvalue = this.PageWorkItem.State["MySavedValue"].ToString();
// to remove
this.PageWorkItem.State.Remove("MySavedValue");
Another way is to use the Session to store values there. Kris Halsrud from CFX just posted about that this week: http://customerfx.com/pages/integrationblog/2009/10/09/using-page-session-to-store-values-in-the-sal...
10-10-2009 12:44 AM
You can also look at campaign -> add response screen. It is passing few info using dialogwindow methods.
May be that would helpful.
Thanks and Regards
Sandeep Gaykhe