protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack && !GridWeb1.IsPostBack) { InstantiateCustomCommandButton(); } }