ASP.NET MVC: Optimally render element attribute
Posted
by majkinetor
on Stack Overflow
See other posts from Stack Overflow
or by majkinetor
Published on 2010-03-18T17:37:37Z
Indexed on
2010/03/18
17:41 UTC
Read the original article
Hit count: 191
asp.net-mvc
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.
© Stack Overflow or respective owner