message box in asp.net
-
string js = "<script language='javascript'>alert(ok);</script>"; Page.RegisterStartupScript("js", js);
The above code is not displaying any error.and not even displaying the messagebox.Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
string js = "<script language='javascript'>alert(ok);</script>"; Page.RegisterStartupScript("js", js);
The above code is not displaying any error.and not even displaying the messagebox.Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
Sonia Gupta wrote:
Page.RegisterStartupScript("js", js);
string js = "alert(ok);"; Page.ClientScript.RegisterStartupScript(this.GetType(),"key",js,true); or string js = "alert(ok);"; Page.ClientScript.RegisterStartupScript(this.GetType(),"key",js);
please don't forget to vote on the post that helped you.
-
string js = "<script language='javascript'>alert(ok);</script>"; Page.RegisterStartupScript("js", js);
The above code is not displaying any error.and not even displaying the messagebox.Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
//TRY ? alert('ok');