本文介绍了验证后菜单上的选项卡的外观的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不希望在认证后菜单上有任何标签吗?
我必须做什么?
i想用登录名和密码进行测试
这就是表达
<%if(Request.IsAuthentificated)
{%>
<%:Html.ActionLink(test,test,Home)%>
I do not want any tabs on the menu apparessent that after authentication?
WHAT should MUST I do please??
i want to test it whith the login and password
THIS IS THE expression
<% if(Request.IsAuthentificated)
{%>
<%: Html.ActionLink ("test", "test", "Home")%>
推荐答案
@if(!Request.IsAuthentificated)
{
Html.ActionLink ("test", "test", "Home")
Html.ActionLink ("test2", "test2", "Home2")
}
这意味着在您进行身份验证后,您将无法查看此链接
this mean that after you doing Authentication, you won''t be able to view this links
这篇关于验证后菜单上的选项卡的外观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!