Batch edit: delete row bug in demo

9 posts, 0 answers
  1. miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 19 Jun 2014 Link to this post

    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.
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 24 Jun 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 24 Jun 2014 Link to this post

    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.

     
  5. miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 24 Jun 2014 in reply to Konstantin Dikov Link to this post

    Thank you, I'll follow up this fix.

    As per your remark
    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!)
  • Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 24 Jun 2014 Link to this post

    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.

     
  • miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 25 Jun 2014 in reply to Konstantin Dikov Link to this post

    I appreciate it very much. However, we need that functionality now, could you suggest any workaround?
  • Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 27 Jun 2014 Link to this post

    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.

     
  • Karthik
    Karthik avatar
    1 posts
    Member since:
    Oct 2012

    Posted 24 Mar Link to this post

    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

  • Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 28 Mar Link to this post

    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.
  • Back to Top
    UI for ASP.NET Ajax is Ready for VS 2017