I have a jQuery Dialog box which is populated by an AJAX call to a controller action in ASP.net MVC. This AJAX call returns more than 13,000 rows of data which is bound to a table
inside the dialog.
In IE11 the scrollbar becomes unresponsive for few seconds while I am trying to scroll through the result, and then responds and then again becomes unresponsive and so on. It's not really giving a good UI experience for the user. The scrollbar mostly remains freezed. I do not face the same issue in Chrome.
Below is the code I have written for the dialog.
$("#dialog").dialog({
title: "title",
width: 800,
height: 450,
modal: true,
open: function(event, ui) {
$(this).load(UrlHelper.Resolve("/ControllerName/ACtionMethodName"), function(data, status) {
$('#ajaxSpinner').hide();
if (status == 'success') {
$("#dialog").html(data);
} else {
alert('An error occurred while processing your request');
}
});
},
close: function(event, ui) {
$(this).dialog('close');
},
dialogClass: 'dialogPosition'
});
I wish I could have condensed the problem into a fiddle for your help, I have no idea how to reproduce it in a smaller scale. Hope I was able to explain the issue.