This is a migrated thread and some comments may be shown as answers.

asp.net mvc editable grid with no modal on pop up

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Jul 2014, 04:04 PM
hello everyone 
iam using the asp.net mvc grid and 
I want to disable the overlay effect when a user clicks on 'edit'In popup mode,
 is there a setting to do that?It looks like the default setting on pop up mode is
to use the overlay, and disable the rest of the page.

//my code //

@using mysite.Models

@(Html.Kendo().Grid<UserViewModel>().Name("users_grid").Columns(c =>{
c.Bound(u => u.UserID);
c.Bound(u => u.FirstName);
c.Bound(u => u.LastName);
c.Bound(u => u.Email);
c.Bound(u => u.Address);
c.Bound(u => u.Phone);
c.Bound(u => u.UserName);
c.Bound(u => u.UserTypeDisplay).ClientTemplate("#: UserType.Display #").Title("User Type");
c.Bound(u => u.Company);
c.Command(command => { command.Edit(); command.Destroy(); });
})
.DataSource(d=> d
.Ajax()
.Read("ManageUsersajax", "Account")
.Update(u => u.Action("UpdateUserData", "Account"))
.Destroy(x => x.Action("Delete", "Products"))
.Create(c => c.Action("Create", "Products"))
.PageSize(5)
.Model(m =>
{
m.Id(u => u.UserID);
m.Field( u=> u.UserTypeDisplay).DefaultValue(
ViewData["defaultUserType"]);

})
)
.Pageable()
.Groupable()
.Sortable()
.Editable(e => e.Mode(GridEditMode.PopUp)
)

.ToolBar(t => t.Create())
)

//my code //

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 15 Jul 2014, 11:32 AM
Hi David,

I'm afraid that this is not supported. The popup edit form logic depends on the fact that it is modal, thus removing the overlay and letting the user click anywhere on the page may cause unexpected results.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or