ScriptHelper.RenderPartial
Renders a partial file into the template
public string RenderPartial(string scriptPath, object model)
Parameters
scriptPath
Path to script file to execute
model
optional model to pass in