2
J'ai une classe Javascript et sa méthode. Mais quand je l'appelle àJSON génère une erreur. Je ne pouvais pas comprendre pourquoi cette erreur se produit.toJSON "L'objet ne supporte pas cette propriété ou cette méthode"
try {
if (this.TabloEkId == undefined || this.TabloEkId == "") {
throw errEksikVeri;
}
fAjaxSetup(fBefore, fSuccess, fError, fComplete);
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: ResolveUrl("~/Yonetim/WS/Yonetim.asmx/f_TabloEklerindenSil"),
data: "{_tblEkId:" + this.TabloEkId + "}",
dataType: "json"
});
} catch (err) {
f_ErrorViewer(err);
}