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

Batch edit: delete row bug in demo

9 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
miksh asked on 19 Jun 2014, 04:19 PM
In http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
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

Sort by
0
Konstantin Dikov
Telerik team
answered on 24 Jun 2014, 02:12 PM
Hello miksh,

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.

 
0
Konstantin Dikov
Telerik team
answered on 24 Jun 2014, 02:22 PM
Hello again miksh,

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.

 
0
miksh
Top achievements
Rank 1
answered on 24 Jun 2014, 02:23 PM
Thank you, I'll follow up this fix.

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.
[/quote]
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!)
0
Konstantin Dikov
Telerik team
answered on 24 Jun 2014, 06:40 PM
Hello miksh,

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.

 
0
miksh
Top achievements
Rank 1
answered on 25 Jun 2014, 12:35 PM
I appreciate it very much. However, we need that functionality now, could you suggest any workaround?
0
Konstantin Dikov
Telerik team
answered on 27 Jun 2014, 02:30 PM
Hell miksh,

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.

 
0
karthikeyan
Top achievements
Rank 1
answered on 24 Mar 2016, 11:03 AM

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

0
Konstantin Dikov
Telerik team
answered on 28 Mar 2016, 12:04 PM
Hello Karthik,

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
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Upender
Top achievements
Rank 1
answered on 23 Oct 2017, 07:24 PM

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. 

 

Tags
Grid
Asked by
miksh
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
miksh
Top achievements
Rank 1
karthikeyan
Top achievements
Rank 1
Upender
Top achievements
Rank 1
Share this question
or