This question is locked. New answers and comments are not allowed.
Hi,
I have an Ajax bound grid, and if there is any error occurs it will return with Ajax error and open a Telerik window with message.
It works on local machine.
But When I deploy the application to IIS 6 on another machine, the Ajax error with Telerik window didn't open.
I have seen that when I get the
it is "unspecified"
Complete script
e.XMLHttpRequest get value on local machine, but it is not working on Server.
can you please guide me for this?
I have an Ajax bound grid, and if there is any error occurs it will return with Ajax error and open a Telerik window with message.
It works on local machine.
But When I deploy the application to IIS 6 on another machine, the Ajax error with Telerik window didn't open.
I have seen that when I get the
var xhr = e.XMLHttpRequest;it is "unspecified"
Complete script
function onError(e) { //the current XMLHttpRequest object var xhr = e.XMLHttpRequest; alert(xhr.status); alert(xhr.responseText); if (xhr.status == "2601") { var windowElement = $('#Window'); windowElement.data('tWindow').title("Error").content("Description = This data already exists, it must beunique. <br/> <div align='right'> <button id='btnClose' class='t-button' type='button'onclick='javascript:CloseWindow();' >OK</button> </div>").center().open(); }}e.XMLHttpRequest get value on local machine, but it is not working on Server.
can you please guide me for this?