Hi All,
In my mvc view, I have 2 List-views. In one of the List-view, only 2 or 3 items will displayed when another List-view will have 10 items per page simultaneously. Even though, first list-view display only 1 or 2 or 3.., list-view size should be same along with second list-view which is displaying 10 items in the page. Currently, what is happening is first list-view size is reducing. How to overcome this problem? I am attaching screen shot. Immediate help will be appreciated.
Below is my code
@(Html.Kendo().ListView<Model>()
.Name("sites")
.Events(events => events.DataBound("OnDataBound"))
.TagName("div")
.ClientTemplateId("template")
.DataSource(source =>
source.Read(read => read.Action("Action", "Controller"))
.PageSize(10))
.Selectable(selection =>
{
selection.Enabled(true);
selection.Mode(ListViewSelectionMode.Multiple);
})
.Pageable(pager => { pager.PageSizes(true);})
)
Regards,
Partha.
In my mvc view, I have 2 List-views. In one of the List-view, only 2 or 3 items will displayed when another List-view will have 10 items per page simultaneously. Even though, first list-view display only 1 or 2 or 3.., list-view size should be same along with second list-view which is displaying 10 items in the page. Currently, what is happening is first list-view size is reducing. How to overcome this problem? I am attaching screen shot. Immediate help will be appreciated.
Below is my code
@(Html.Kendo().ListView<Model>()
.Name("sites")
.Events(events => events.DataBound("OnDataBound"))
.TagName("div")
.ClientTemplateId("template")
.DataSource(source =>
source.Read(read => read.Action("Action", "Controller"))
.PageSize(10))
.Selectable(selection =>
{
selection.Enabled(true);
selection.Mode(ListViewSelectionMode.Multiple);
})
.Pageable(pager => { pager.PageSizes(true);})
)
Regards,
Partha.