0

我在这里阅读指南http://msdn.microsoft.com/en-us/library/879kf95c.aspx

在创建登录视图后的部分中,它会说明。

 you would probably put the members-only page link in the logged-in template of the 
 LoginView control. That way, visitors to your site would not see the link until 
 they are logged in.

该指南不包含有关您可以在哪里找到如何执行此操作的链接。我正在搜索谷歌,但找不到显示此内容的指南。

任何人都可以就菜单项仅在用户登录时显示的确切方式提供建议吗?

4

1 回答 1

1

看看这些文章:

ASP.NET 登录控件概述

登录视图类

于 2012-08-07T13:41:56.553 回答