Update Message on ASP.NET ModelPopupExtender
- by John
Hi,
I have a form in a MS AJAX ModalPopup Extender, which is in a UpdatePanel (for async loading). Everything works as expected. There is one thing that I am trying to do but not sure how to do it.
On form submission, there is server side validation on top of client side validation. My question is: what is the best way to display validation error messages if any? It would be ideal if the messages could be written to the popup asynchronously so that the popup is still there.
If this is not possible, I am thinking of displaying the messages using the JavaScript alert box.
Any insight and suggestions are greatly appreciated.
John