asp.net学习日志


        //弹出对话框.点击转向指定页面
        //Response.Write("<script>window.alert('该会员没有提交申请,请重新提交!')</script>");
        //Response.Write("<script>window.location ='http://www.baidu.com'</script>");

        //弹出对话框
        //Response.Write("<script language='javascript'>alert('产品添加成功!')</script >");

        //按钮添加对话框
        //Button2.Attributes.Add("onclick", "return confirm('确认?')");
        Button2.ToolTip = "我爱你";
        Button2.Text = "我爱你";
        Button2.BorderWidth = 3;
        Button2.Font.Size = 20;
        Button2.ForeColor = Color.Red;
        Button2.PostBackUrl = "http://www.126.com/";
        Button2.Visible = !Button2.Visible;
        Response.Write("<script language='javascript'>alert('" + this.Calendar1.SelectedDate.ToString() + "')</script >");

posted @ 2010-02-26 17:33  闫磊博客  阅读(109)  评论(0编辑  收藏  举报