Completed
Last Updated: 10 Dec 2024 14:17 by ADMIN
Release 2025 Q1 (Feb)
Vugar
Created on: 26 Nov 2024 09:51
Category: UI for ASP.NET MVC
Type: Bug Report
1
The k-toolbar-solid class is missing in the MVC Grid's toolbar

Describe the bug
The k-toolbar-solid class is not rendered in the Grid's toolbar. As a result, the theme background color is not applied to the toolbar.

To reproduce
Steps to reproduce the behavior:

  1. Go to 'Overview demo'
  2. Inspect the toolbar

Expected behavior
The k-toolbar-solid class should be applied to the toolbar's div element, as in the Kendo UI for jQuery Grid and the Core Grid.

The workaround is to add the class with jQuery, for example in the DataBound event of the Grid:

<script>
    function onGridDataBound(e) {
        $(e.sender.wrapper).find(".k-toolbar").addClass("k-toolbar-solid");
    }
</script>

Affected browsers (please remove the unneeded items)

  • All

Product Version
2024.4.1112

0 comments