Programming in asp.net-mvc: Define something like for in ASP.NET MVC 3 to pass real html on newest questions tagged asp.net-mvc – Stack Overflow

How can define a custom block like @for in Razor view? I read about @helper here and here also there is a similar question here but @helper method just define html tags at first then when you want to use in views just can pass some parameters, in other hand @for block is that I want, in views you can pass Html (with intelligence support), Does any one have any idea about this? I also think about modify razor source code! (if possible) Is there any better way?

See Answers


source: http://stackoverflow.com/questions/9600972/define-something-like-for-in-asp-net-mvc-3-to-pass-real-html
Programming in asp.net-mvc: programming-in-asp-net-mvc

Leave a Reply