Last post Mar 30, 2012 04:23 PM by bruce (sqlwork.com)
Mar 30, 2012 10: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 10:15 AM|dharnendra|LINK
Refer the below post containing actual usage of Viewcontext. Its communication medium from controller to view.
Mar 30, 2012 04: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.