On Tue, 27 Sep 2005 08:41:26 GMT,
v-****@microsoft.com ("ÈÎÔ¶[΢Èí]")
wrote:
Hi Yuan, nice to talk with you again. You must be the UIAPB expert...
If I don't specify the startView in the config file, I get an error -
it is expected by the schema. So in my OnEnterTask method, I try to
change the current view like this:
public override void EnterTask(TaskArgumentsHolder taskArgs)
// Figure out where I want to start,, then
//
// I have tried various combinations of the followowing, none of which
// seem to work - I always get the startView specified in the
// config file
this.State.NavigateValue("ViewIWantToStartAt");
this.Navigator.Navigate("NodeName");
this.Navigator.CurrentState.CurrentView = "ViewIWantToSee";
Any suggestions?
Thanks,
Bryan