使用MagicAJax的AjaxPanel时有时会弹出"Using the AjaxCallHelper write methods outside of an AjaxCall is not allowed."

------解决方案--------------------------------------------------------
1.看下你的输出是不是包含在<ajax:AjaxPanel ID="AjaxPanel1" runat="server" ></ajax:AjaxPanel>标签里面;
2.MagicAjax.AjaxCallHelper.Write("alert('您还没有选择会员!');");
3.如果问题没有解决,你就试下用
ClientScript.RegisterStartupScript(this.GetType(), "tip", "<script>alert('产品添加成功!');</script>");

你可能感兴趣的:(使用MagicAJax的AjaxPanel时有时会弹出"Using the AjaxCallHelper write methods outside of an AjaxCall is not allowed.")