May 04, 2012, 6:09 PM
[CLOSED] Razor Controls Visible
Hello,
Was just wondering how one would set the visibility of a control in Razor before the item renders? I do not want to hide the control from the client, I don't want to render it :)
Any suggestions? The following property is not available:
Timothy
Was just wondering how one would set the visibility of a control in Razor before the item renders? I do not want to hide the control from the client, I don't want to render it :)
Any suggestions? The following property is not available:
@(Html.X().Panel()
.Visible(false)
)
Cheers,Timothy
Last edited by Daniil; May 04, 2012 at 9:44 PM.
Reason: [CLOSED]