ASP.NET MultiView by ID?

Is there a way to set the active view in MultiView by ID and not by index?

Something like that?

multiviewProgress.Views["step3"].SetToActiveView();
+5
source share
1 answer

I believe that you can just do something like this:

 myMultiView.SetActiveView(nameOfView);

where nameOfView is the identifier specified at design time. This example shows you how to do this.

+8
source

All Articles