Update Message on ASP.NET ModelPopupExtender
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-06-16T17:46:12Z
Indexed on
2010/06/16
17:52 UTC
Read the original article
Hit count: 255
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
© Stack Overflow or respective owner