ASP.NET MVC: Optionally render element attribute
- by majkinetor
I know there is some syntax with ? to optionally render attribute.
But I can't find it now that I need it ...
Something like:
< input checked=<%? model.IsActivated % > ...
Thanks.