This templatised MVC Razor Html helper comes handy when we have complex View where data representation is required in tables or any list form. Phill Haack has given good example to help you with this construct. I m trying to rewrite everything, but to keep reference handy in my blog for future reference and development. I like the way custom iterator being used and passed as calling func with html writer as output.
Reference:
http://weblogs.asp.net/nmarun/archive/2011/02/28/templated-razor-delegates-phil-haack.aspx
http://haacked.com/archive/2011/02/27/templated-razor-delegates.aspx
I find this useful.
Reference:
http://weblogs.asp.net/nmarun/archive/2011/02/28/templated-razor-delegates-phil-haack.aspx
http://haacked.com/archive/2011/02/27/templated-razor-delegates.aspx
I find this useful.
No comments :
Post a Comment