Last post Mar 30, 2012 03:23 PM by bruce (sqlwork.com)
Mar 30, 2012 09:09 AM|pantonis|LINK
I have one question. On a cshtml file I can access ViewContext.Writer.Write
On a cs file how can I access it?
Mar 30, 2012 09:15 AM|dharnendra|LINK
Refer the below post containing actual usage of Viewcontext. Its communication medium from controller to view.
Mar 30, 2012 03:23 PM|bruce (sqlwork.com)|LINK
you pass it to the cs files method. if you write a HtmlHelper extension its passed to all methods.