开发者

ASP.NET MultiView by ID?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜