ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "thisScipt", "alert('Success');", true);
<script type="text/javascript"> var y=window.prompt("please enter your name") window.alert(y) </script>
<script type="text/javascript"> var x=window.confirm("Are you sure you are ok?") if (x) window.alert("Good!") else window.alert("Too bad") </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)