ASP.NET弹出消息框、确认框的代码收集
建议你使用ScriptManger这个类方法,在页面刷新后弹出提示框。具体用法是:
不用Ajax:
Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>window.open('default2.aspx')</script>")
使用了Ajax:
ScriptManager.RegisterStartupScript(this.Button1, this.GetType(), "alertScript", "window.open('default2.aspx');", true);
jqueryuploadify3.1ASP.NET(C#)怎样解决Session传递
uploadify 是AJAX用后台文件操作上传的,是aspx,还是ashx文件我记不清了,aspx的话直接后台使用session就可以了,ashx文件的话:
1、引入 命名空间:using System.Web.SessionState;
2、增加IRequiresSessionState public class AddUserInfo : IHttpHandler,IRequiresSessionState
还没有评论,来说两句吧...