Display or hide ModalPopupExtender based on client-site conditions
I am trying to show the ModalPopup message box using ModalPopupExtender with some information by clicking the button (let's say Submit button) on the content form. This form has the client-site function which is checking input boxes on the form after this Submit button has been pressed, and if something wrong, it shows an appropriate client-site [FONT='Arial','sans-serif']Message[/FONT]. The problems: after this [FONT='Arial','sans-serif']Message[/FONT] has been dismissed, my ModalPopupExtender message is showing up anyway. How to avoid this situation? Any suggestions or directions will be appreciated.
Thanks in advance,