Duplicated
Last Updated: 10 Apr 2023 14:11 by Clark
Clark
Created on: 07 Apr 2023 20:44
Category: Pager
Type: Bug Report
3
Pager buttons lack "type" attribute, cause form to submit

We have grids with the pager enabled. Some grids are within an EditForm.

The pager <button> elements do not have a "type" attribute, so clicking them causes the form to be submitted. They should be type="button" and not submit the form.

We do not use a GridPagerTemplate.

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
2 comments
Clark
Posted on: 10 Apr 2023 14:11
Ah, sorry for the duplicate. I failed to locate that other one.
ADMIN
Radko
Posted on: 08 Apr 2023 08:10

Hello Clark,

Indeed, the button type attribute should be button so form submission does not occur. A valid bug, which has been brought to our attention already through the following bug report: When the Grid is placed in a Form changing the page submits the Form. I'm happy to share the fix for this was included in our 4.1.0 release, thus bumping the product version should resolve this.

Regards, Radko Stanev 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.