문제

I am reading the guide here http://msdn.microsoft.com/en-us/library/879kf95c.aspx.

At the section once the loginview is created it states.

 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.

The guide contains no link on where you would find out how to do this. I am searching google but cannot find a guide that shows this.

Can anyone advise on exactly how Menu items only display when a user is logged in?

도움이 되었습니까?

해결책

Take a look at these articles:

ASP.NET Login Controls Overview

LoginView Class

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top