I have been using MVC grids for quite some time now. Only recently noticed that the page number shows up between the paging buttons. It increases and decreases as paging buttons are clicked. Please see the attached image. Is this a bug or something wrong in my code. We are using the latest 2021.1.119
@(Html.Kendo().Grid<SampleProject.ViewModels.EmployeeViewModel>()
.Name("EmployeeGrid")
.Columns(col =>
{
col.Bound(o => o.NetworkID).Width(150);
col.Bound(o => o.Name).Width(400);
col.Bound(o => o.Role).Width(200);
col.Bound(o => o.Category);
col.Command(command => { command.Destroy(); }).Width(150);
})
.Pageable(a => a.PageSizes(new int[] { 10, 25, 50, 100 }))
.Sortable()
.Scrollable()
.Filterable(filterable => filterable
.Extra(false)
.Operators(operators => operators
.ForString(str => str.Clear()
.Contains("Contains")
.IsEqualTo("Is equal to")
)))
.HtmlAttributes(new { style = "height:700px;" })
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(100)
.Model(model =>
{
model.Id(p => p.ID);
})
.Read(read => read.Action("Employee_Read", "Admin"))
.Destroy(delete => delete.Action("Employee_Delete", "Admin"))
)
)