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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
afterCompletecallback 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
afterCompletecallback, but I hope you understand the idea how it can be done.