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

Internet explorer stop working when adding row to grid

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kumar
Top achievements
Rank 1
Kumar asked on 09 Nov 2015, 03:04 AM

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");
    }
 
}

 

 

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 11 Nov 2015, 09:11 AM

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
Tags
Grid
Asked by
Kumar
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or