protected void ButtonRefresh_Click(object sender, EventArgs e) { ErrorSuccessNotifier.AddInfoMessage("Products loaded."); }
protected void ButtonAddSuccess_Click(object sender, EventArgs e) { ErrorSuccessNotifier.AddSuccessMessage("Product added."); ErrorSuccessNotifier.ShowAfterRedirect = true; Response.Redirect("ListProducts.aspx"); }
protected void ButtonAddError_Click(object sender, EventArgs e) { ErrorSuccessNotifier.AddWarningMessage("Warning: product description cannot be empty."); ErrorSuccessNotifier.AddErrorMessage("Cannot add product. Make sure the product name is valid."); }
protected void ButtonNewError_Click(object sender, EventArgs e) { ErrorSuccessNotifier.AddErrorMessage("Ala ba <b />"); }