C
cksj
I have a button that will trigger validators. In one special case, I have to
show a message box when the button is clicked.
In the code behind, I added the following:
cmdAccept.Attributes.Add("onclick", "javascript:checkPayment();")
The message box will not show because of the validators. It will only show
if I set CausesValidation=False on the the button. Is it possible to have
validators on the button as well as pop-up a message box on certain
situations?
thanks,
Cesar
show a message box when the button is clicked.
In the code behind, I added the following:
cmdAccept.Attributes.Add("onclick", "javascript:checkPayment();")
The message box will not show because of the validators. It will only show
if I set CausesValidation=False on the the button. Is it possible to have
validators on the button as well as pop-up a message box on certain
situations?
thanks,
Cesar