Dialog with the following error:Unexpected ajax response was received from the server.
This may be caused by one of the following reasons:
- Server.Transfer.
- Custom http handler.
- Incorrect loading of an "Ajaxified" user control.
Verify that you don't get a server-side exception or any other undesired behavior, by setting the EnableAJAX property to false.
Most often people hit this error when using Server.Transfer method. Note that some control may use this method internally (like the ASP:LoginView control).
In order to redirect to another page in AJAX-enabled application, you should use the approaches mentioned in Redirecting to another page help topic. In most cases Response.Redirect does the trick. You could also check with Redirect method of RadAjax controls.
The other most possible reason is about improper loading of user controls. Our Loading user controls help topic will help you fix the error in your code.
Additionally, if the above does not help, you could disable AJAX as suggested in the error message. This will help you verify whether the error is AJAX usage related and if it is not, to fix any server-side error if such is thrown.