Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 01, 2012 03:13 AM by Q.Fei
Jun 30, 2012 06:05 AM|LINK
There is a razor syntax when using webgrid helper i am confused ,please see the following code:
i know the second @ sign means transit from html to c#, but what does the first @ sign mean? if remove the first @ sign the page render will fail.
Jun 30, 2012 07:45 AM|LINK
The first @ sign tells the Razor parser that the the following section <striong>@item.Title</strong> is a template: http://haacked.com/archive/2011/02/27/templated-razor-delegates.aspx
Jul 01, 2012 03:13 AM|LINK
Thanks for reply!