开发者

ASP.NET MultiView by ID?

开发者 https://www.devze.com 2022-12-29 04:19 出处:网络
Is there a way to set the active view in a Multi开发者_如何学运维View by ID rather than by index?

Is there a way to set the active view in a Multi开发者_如何学运维View by ID rather than by index?

Something like this?

multiviewProgress.Views["step3"].SetToActiveView();


I believe you can just do something like this:

 myMultiView.SetActiveView(nameOfView);

where nameOfView is the ID given at design time. This example shows you how to do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消