We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display custom error message on AJAX action failture

Solution:

We can display the error details in client side using ActionFailure client side event of the grid.

Example:

Grid rendering code:

JS:

 

MVC:

 

ASP.NET:

 

JavaScript code:

 

Result:

                     Figure: Status of the action failure.

Article ID: Published Date: Last Revised Date: Platform: Control:
5170 07/03/2015 08/04/2015 ASP.NET MVC Grid
Did you find this information helpful?
Comments
A.T. Nov 02, 2017

Please add example on how specify ActionFailure event binding for a static html ejGrid declaration ( )

Reply
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon