| ViewModelTemplateTViewModelRenderGrid Method (Int32) |
Renders the first Grid on the page with the given ID.
If no Grids exist on the page, the empty string is returned.
Namespace:
Dynamicweb.Rendering
Assembly:
Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax public string RenderGrid(
int pageId
)
Public Function RenderGrid (
pageId As Integer
) As String
Parameters
- pageId
- Type: SystemInt32
The id of the page in which to render the Grid.
Return Value
Type:
StringA string with the rendered output of the Grid if it exists; the empty string otherwise.
See Also