Internet explorer stop working when adding row to grid

2 posts, 0 answers
  1. Kumar
    Kumar avatar
    2 posts
    Member since:
    Jan 2015

    Posted 08 Nov 2015 Link to this post

    Hi,

    We encountered "internet explorer has stopped working" issue when adding rows to grid. The IE version is 11.

    Based on our investigation, the issue seems is due to we are calling the following javascript function after we adding new row to the grid. 

    Could you provide some pinions on this issue or suggest how to investigate the Internet explorer stop working issue?

     

    function Reset(id) {
     
     
        //reset inputs
        var inputs = $("#" + id + " input");
        for (var m = 0; m < inputs.length; m++) {
            if (inputs[m].id != "") {
                $("#" + inputs[m].id).val('');
            }
        }
     
        //reset kendoNumericTextBox
        var currency = $("#" + id + " [data-role=numerictextbox]");
        for (var m = 0; m < currency.length; m++) {
            if (currency[m].id != "") {
                $("#" + currency[m].id).data("kendoNumericTextBox").value('');
            }
        }
     
        //reset kendoDateTimePicker
        var picker = $("#" + id + " [data-role=datetimepicker]");
     
        for (var m = 0; m < picker.length; m++) {
            if (picker[m].id != "") {
                $("#" + picker[m].id).value('');
                $("#" + picker[m].id).blur();
            }
        }
     
        //reset kendoDropDownList
        var dropDown = $("#" + id + " [data-role=dropdownlist]");
        for (var m = 0; m < dropDown.length; m++) {
            if (dropDown[m].id != "") {
                $("#" + dropDown[m].id).data("kendoDropDownList").value('');
            }
        }
     
        //hidden error message
        var spans = $("#" + id + " [class='k-widget k-tooltip k-tooltip-validation k-invalid-msg field-validation-error']");
        if (spans.length > 0) {
            spans.addClass("hidden");
        }
     
    }

     

     

  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 11 Nov 2015 Link to this post

    Hello Kumar,

     

    Unfortunately from the provided code snippet we are not able to determine the cause of the error. It will be easier to debug if you provide us with a isolated runnable example of the error.

     

    Regards,
    Nikolay Rusev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top