Skip to main content

GridViewSettings.SetPagerBarTemplateContent(String) Method

Allows you to specify a pager template.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public void SetPagerBarTemplateContent(
    string content
)

Parameters

Name Type Description
content String

A string value specifying the template content.

Remarks

@Html.DevExpress().GridView(settings => {
    settings => {
        settings.Name = "gridView";
        ...
        settings.SetPagerBarTemplateContent("<span style='color:red'>test</span>");
        ...
}).Bind(Model).GetHtml()

Online Demo

GridView - Templates

See Also