1. Click to add a new record
2. The "Delete" link will appear in the new row - it would be nice to have the same X icon
3. Click "Delete" link - it fires validation and the new row could not be deleted until you enter all required fields - bug.
9 Answers, 1 is accepted
Thank you for your feedback.
Indeed, all behaviors that you have pointed out could be observed in our demo for Batch editing and I may confirm that the missing image for the delete button is a bug, but as for the validation issue, this is a standard behavior of the validator controls, so I am not able to pinpoint it as a bug.
For bringing the button's image issue to our attention you will find your Telerik Points updated.
Finally, for your convenience I have created an item in our Ideas & Feedback Portal, where you could follow its progress:
Regards,
Konstantin Dikov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
After consulting with our developers team I may confirm that the validation triggering issue with the delete button will be further investigated and hopefully, a fix for it should also be introduced in one of our future releases.
Once again, thank you for the valuable feedback.
Regards,
Konstantin Dikov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
As per your remark
[quote]as for the validation issue, this is a standard behavior of the validator controls, so I am not able to pinpoint it as a bug.
I suggest you to review it again as the common practice in asp.net development is to set CausesValidation="False" to "Delete" or "Cancel" button to avoid any annoying UX inconvenience. Try the following steps in the demo yourself:
1. Add a new row
2. Delete this row (you must enter 2 required fields. Image if there are 10 such fields!)
As I have mentioned in my last post, after consulting with our developers team, the required field validation should not be triggered when the Delete button is clicked. We already have this logged as improvement in our system, so it should be introduced in one of our future releases.
Regards,
Konstantin Dikov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
As you could notice in the item for the ImageButton issue, it is already with status Completed and the fix should be available in our next internal build.
Regarding the validation issue, our developers team will need more time for it, but you could follow the progress of the item at the following address:
Please excuse us for any inconvenience caused by both issues.
Regards,
Konstantin Dikov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
In http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
when grid was in edit mode if we delete another record, at the time the record is in edit mode have inserted without validating
As a workaround you can handle the client-side "OnRowDeleting" event and cancel the command if the batch validation fails:
<script>
function
rowDeleting(sender, args) {
if
(!Page_ClientValidate(
"BatchEditingValidationGroup"
)) {
args.set_cancel(
true
);
}
}
</script>
Let me know if that resolves the issue.
Regards,
Konstantin Dikov
Telerik
Hi Team,
I have applied workaround(made causes validation=false in rad grid ItemDataBound event) and it is working as expected in IE,Chrome. But still this issue existing in Microsoft Edge. Could you please assist me in this.