<authentication mode="Forms"> <forms loginUrl="~/User/Login" timeout="1" /> </authentication>
$.ajax({ url: '../Document/getData?did=' + docid2, beforeSend: function () { $("#DialogData").empty().html('<p class="Loadimg"></p>'); }, success: function (result) { $("#DialogData").load('../Document/getData?did=' + docid2); }, error: function (req, status, xhr) { alert(xhr); //for Timeout Error if (status == "timeout") { $("#DialogData").empty().html('<p>Plese Try Again</p><'); } if (status == "error") { //for Page Not Found Invalid URL if (xhr == "Not Found") { } //for server error which is from controller if (xhr == "Internal Server Error") { } } //if error } //error }); //Ajax
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)