I have a webform all the controls are in a update panel,i have to write a script for showing error messages in a popup.
These are the scripts i tried
Code:
1.private void MessageBox(string message) { string tmp = ""; tmp = "<script language='javascript'>"; tmp += "alert('" + message + "');";
Leave a comment: