HI,
we are showing a Popup from Kendo Ui Grid, The page is a Searc Page which has Dropdownlist and by selecting the value,
a kendo ui grid will be shown with data and by clicking the Edit button a popup is displayed. By using Ajax editing in grid, the popup is shown in center of the browser. but page refresh is not happening and dropdownlist is not populated.
@(Html.Kendo().Grid(Model)
.Name(
"Grid")
.Columns(columns =>
{
columns.Bound(p => p.RoleType).Width(80);
columns.Bound(p => p.Name).Width(100);
columns.Bound(p => p.Status).Width(70);
columns.Command(command => { command.Edit(); }).Width(100);
})
.Editable(editable => editable.Mode(
GridEditMode.PopUp).TemplateName("ManageRolePop").Window(w => w.Title("Manage Role").Name("editWindow")))
.Pageable()
.Sortable()
.Scrollable()
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(
false)
.Model(model => model.Id(p => p.RoleID))
.Read(
"ManageRole", "ManageRole")
.Update(
"Update", "ManageRole")
)
By using Server editing the Popup orientation is at the bottom of the page and thewe are not able to set in center of the browser. Request you to help us in this issue.
@(Html.Kendo().Grid(Model)
.Name(
"Grid")
.Columns(columns =>
{
columns.Bound(p => p.RoleType).Width(80);
columns.Bound(p => p.Name).Width(100);
columns.Bound(p => p.Status).Width(70);
columns.Command(command => { command.Edit(); }).Width(100);
})
.Editable(editable => editable.Mode(
GridEditMode.PopUp).TemplateName("ManageRolePop").Window(w => w.Title("Manage Role").Name("editWindow")))
.Pageable()
.Sortable()
.Scrollable()
.DataSource(dataSource => dataSource
.Server()
.ServerOperation(
false)
.Model(model => model.Id(p => p.RoleID))
.Read(
"ManageRole", "ManageRole")
.Update(
"Update", "ManageRole")
)
Request you to help us in this