In my application, when I edit an entry from jqgrid, I need to show some server messages in the edit form (like this email was already entered etc)
How can I do this?
In my application, when I edit an entry from jqgrid, I need to show some server messages in the edit form (like this email was already entered etc)
How can I do this?
If I understand you correct you want to display custom error message or status message after submitting of the edit form. In the case it's most important to use correct HTTP status code which you can set by HttpContext.Current.Response.StatusCode for example. If you want return an error the server response should contain some error HTTP code. In the case the errorTextFormat callback can be used to format the message. If you want use display status message after successful modification you can use afterComplete
callback instead.
In the answer you will find the demo which demonstrate how you can place successful status message in the form. The demo simulate successful message instead of usage afterComplete
callback, but I hope you understand the idea how it can be done.
try some model popup options like jquery UI dialog / jQmodel/Fancybox etc. But these all are client side plugins, If you are updating your grid value from client side java script ( via ajax), then u can use this.