Positioning/Styling Toolbar


The toolbar can be positioned at the top of bottom of the grid or hidden completely using the ToolbarPosition property. If the toolbar is hidden then paging is supressed and all rows will be rendered in a single page. The style of the toolbar button can be controlled with the ToolbarButtonStyle property.

Toolbar Position Toolbar Style
DbNetGridCore customersGrid = new DbNetGridCore("northwind", "customers")
    PageSize = 10,
    BooleanDisplayMode = BooleanDisplayMode.Checkbox,
    ToolbarPosition = Model.ToolbarLocation,
    ToolbarButtonStyle = Model.ToolbarButtonStyle