I am trying to find the "this" object in ASP.NET MVC 2 for a string value.
In the view, I set the partial tag input tag prefix and try to figure out how to refer to it in the partial view.
For instance:
Html.EditorFor(m => m, "templateName", "fieldPrefix");
In a partial view, I would like to find the "this" object for the fieldPrefix line to see where the MVC people decided to save it.
Any ideas?
source
share