tag:blogger.com,1999:blog-6443816021567857696.post3748549033691698080..comments2023-07-21T11:34:52.167-05:00Comments on Mister James: ASP.NET MVC3: The Razor View Engine and TextChipOnehttp://www.blogger.com/profile/16709607564824798285noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6443816021567857696.post-59499978480315579832011-03-21T06:08:00.474-05:002011-03-21T06:08:00.474-05:00Hi ChipOne
Correct the < text > tag is miss...Hi ChipOne<br /><br />Correct the < text > tag is missing :)<br />@if(true)<br />{<br />< text > <br />Do something @DateTime.Now<br />< / text > <br />}Unknownhttps://www.blogger.com/profile/06478168604105526370noreply@blogger.comtag:blogger.com,1999:blog-6443816021567857696.post-47252362652045361002011-03-18T08:37:10.067-05:002011-03-18T08:37:10.067-05:00Hi Henrik...I think the Blogger engine filtered ou...Hi Henrik...I think the Blogger engine filtered out some of your text. Were you meaning to use an HTML-style text tag? The text tag is not rendered. Alternatively, you can use a @: as a line prefix to write out a line if you don't want to output the html. Cheers.ChipOnehttps://www.blogger.com/profile/16709607564824798285noreply@blogger.comtag:blogger.com,1999:blog-6443816021567857696.post-12359122279489603812011-03-18T04:26:10.250-05:002011-03-18T04:26:10.250-05:00You can optionally wrap nested content with a blo...You can optionally wrap nested content with a block for cases where you have content that you want to render to the client without a wrapping tag:<br /><br />@if(true)<br />{<br /> <br /> Do something @DateTime.Now<br /> <br />}Unknownhttps://www.blogger.com/profile/06478168604105526370noreply@blogger.comtag:blogger.com,1999:blog-6443816021567857696.post-8325924802175712172011-03-17T19:10:25.513-05:002011-03-17T19:10:25.513-05:00or wrap the text withor wrap the text withAnonymousnoreply@blogger.com