Need More Info
Last Updated: 19 Dec 2025 09:36 by ADMIN
Alejandro
Created on: 15 Dec 2025 16:20
Category: Grid
Type: Bug Report
0
save button not re-enabling after failed validation

Using Telerik.Ui.for.aspnetcore version 2025.4.1111, when i create a grid 

                @(
     Html.Kendo().Grid<Land_Management_System.LASIViewModels.LASIMainRecordViewModel>()
     .Name("LASIGrid")
     .Height("auto")
     .Editable(x => x.Enabled(true)

     .Mode(GridEditMode.PopUp)
     .TemplateName("_LASITabStrip")
     .Window(x =>
     {
         x.Width("90vw").Height("90vh");
         x.Resizable().Scrollable(true);
         x.Actions(x => x.Minimize().Maximize().Close());
     })).Events(x => x.Save("onGridSave").Edit("onGridEdit"))

     .Columns(columns =>
     {
         columns.Bound(p => p.Id).Filterable(true).Visible(false);
         columns.Bound(p => p.LASIGuid).Title("LASI Ref No").Filterable(true);
         columns.Bound(p => p.UPRN).Title("UPRN").Filterable(true).Visible(false);
         columns.Bound(p => p.SiteLocation).Title("Site Location").Filterable(true);
         columns.Bound(p => p.Region).Title("Region").Filterable(true).Visible(false);
         columns.Bound(p => p.Pre2015Council).Title("Former NIHE District").Filterable(true).Visible(false);
         columns.Bound(p => p.SuperCouncil).Title("Super Council").Filterable(true);
         columns.Bound(p => p.AreaOffice).Title("Area Office").Filterable(true);
         columns.Bound(p => p.ParliamentaryConstituency).Title("Parliamentary Constituency").Filterable(true).Visible(false);
         columns.Bound(p => p.DevelopmentLimit).Title("Development Limit").ClientTemplate("#= DevelopmentLimit ? DevelopmentLimit.Name : '' #").Filterable(true);
         columns.Bound(p => p.Area).Title("Area").Filterable(true);
         columns.Bound(p => p.ReferenceType).Title("Reference Type").ClientTemplate("#=ReferenceType ? ReferenceType.Name : ''#").Filterable(true);
         columns.Bound(p => p.PlannerText).Title("Planner").Filterable(true);



columns.Command(command =>
{
    command.Custom("Edit").Click("showEdit");
    command.Custom("Details").Click("showDetails");

});



     })

.Filterable(filterable => filterable
        .Mode(GridFilterMode.Menu) // Enables per-column filtering
    )

     .Width("auto")
     .Pageable()

     .Groupable()
     .ToolBar(t =>
     {

             t.Create();
     })
     .Sortable()
     .Scrollable()
     .DataSource(dataSource => dataSource
     .Ajax()
     .Events(events => events.Error("grid_error_handler").RequestEnd("on_board_grid_request_end"))
     .PageSize(10)
     .ServerOperation(true)
     .Model(model =>
     {
         model.Id(p => p.Id);
         model.Field(prop => prop.Id).DefaultValue(0);
         model.Field(prop => prop.DevelopmentLimit).DefaultValue(new DevelopmentLimitViewModel());         
         model.Field(prop => prop.ReferenceType).DefaultValue(new ReferenceTypeViewModel());
         model.Field(prop => prop.Planner).DefaultValue(new UsersViewModel());
         model.Field(prop => prop.Category).DefaultValue(new CategoryViewModel());

         model.Field(prop => prop.TempUploadKey);

     })
     .Read(read => read.Action("LASIRead", "LASI"))
     .Create(create => create.Action("LASICreate", "LASI"))
     .Update(update => update.Action("LASIUpdate", "LASI"))

     )
     .NoRecords(true)
     )

 

when i try and create a new record the save button is disabled when it fails validation, when i complete the failed validation fields the button is not re-enabling

                                      
1 comment
ADMIN
Viktor Tachev
Posted on: 19 Dec 2025 09:36

Hello Alejandro,

I tried to reproduce the behavior you describe with out online examples using the Grid Popup editing demo, however I was not able to. Would you elaborate in more detail if there is custom logic on your end that is enables and disables the Save button? If there is, there may be an error there that prevents the button from being enabled.

That said, would you send us a sample project where the described behavior is reproduced? This will enable us to examine the issue locally and look for its cause.

 

Regards,
Viktor Tachev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.