| ViewModelTemplateTViewModelRenderPartial Method (String) |
Renders a partial view using the current view model
Namespace:
Dynamicweb.Rendering
Assembly:
Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax public string RenderPartial(
string templatePath
)
Public Function RenderPartial (
templatePath As String
) As String
Parameters
- templatePath
- Type: SystemString
Relative path to a view model template, e.g. "partials/part.cshtml
Return Value
Type:
StringOutput from rendering of the view model template
See Also