help Updatepanel and alert ; [modified]
-
i use this cod in a (button_Click) in the updatepanel not work MyMessages msg = new MyMessages(); string str = "javascript:alert(\'" + msg.GetDenied() + " " + err.Text + " " + "!\')"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Str", str, true); ahmed eldeghedy modified on Tuesday, November 18, 2008 6:59 AM
-
i use this cod in a (button_Click) in the updatepanel not work MyMessages msg = new MyMessages(); string str = "javascript:alert(\'" + msg.GetDenied() + " " + err.Text + " " + "!\')"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Str", str, true); ahmed eldeghedy modified on Tuesday, November 18, 2008 6:59 AM
StringBuilder sbScript = new StringBuilder();
sbScript.Append("");
sbScript.Append("alert('Your message')");
sbScript.Append("");Literal ltMessage = new Literal();
ltMessage.Text = sbScript.ToString();
updatePabel.Controls.Add(ltMessage);.: I love it when a plan comes together :. http://www.zonderpunt.nl