摘要: protected void Page_Load(object sender, EventArgs e) { this.Button1.Attributes["onclick"] = ClientScript.GetPostBackEventReference(Button1, "Click ") + ";this.disabled=true;"; }让页面在回发的时候脚本控制按钮不可用,如果报错的话,在.aspx页面第一行:%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_D 阅读全文
posted @ 2010-12-10 12:35 caicainiao 阅读(276) 评论(0) 推荐(0) 编辑