Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 30, 2012 03:23 PM by bruce (sqlwork.com)
Mar 30, 2012 09:09 AM|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|LINK
Refer the below post containing actual usage of Viewcontext. Its communication medium from controller to view.
Mar 30, 2012 03:23 PM|LINK
you pass it to the cs files method. if you write a HtmlHelper extension its passed to all methods.