Can i shorten this to one line? I have tried various ways but can\'t quite get it right.
@if(SiteMap.CurrentNode.Title == \"Contact\") { @:
There might be an even simpler solution but this should work:
@Html.Raw((SiteMap.CurrentNode.Title == "Contact") ? "" : "") 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复