Load File .ASPX into DIV. In file .ASPX have a Gridview with Paging
When use this code
function HabilitaDiv(nomeDiv){
var div = nomeDiv.replace("btn", "div").replace("menu", "div").replace("_", "");
$.ajax({
method: "GET",
url: "divAreaCliente.aspx",
data: "div="+ div,
beforeSend: function() {
$("#carregando").show("fast");
},
complete: function() {
$("#carregando").hide("slow");
},
success: function(conteudo) {
$("#divTudo").html(conteudo);
}
});
}
and click intothe page two of Gridview have a error: Error in time of execution of Microsoft JScript: 'theForm.__EVENTTARGET' is null or not object.
I test only ASPX.NET nothing Jquery and this Paging is correct, when i used Jquery is not Correct.