I’m relative new to ASPX and AJAX. I have a CollapsiblePanelExtender, an UpdatePanel and ModalPopupExtender . I I need to show a alert message. How to do it with this code?
I try with code like:
CustomMessage = "Unexpected error in del record " + sErr;
etType(), "errmsg", "<script>alert('" + CustomMessage + "');</script>;");
But it not work, the message is not shown. The problem is that the message should consits sErr which is code generated. How to do it? Also, the messages are 10, there a lot of logical check before do the logic with Save button.
Except a message , un acceptable option is to write the error in a textbox or label, is this possible?