protected void btnOpen_Click(object sender, EventArgs e) { TitleLabel.Text = "Open Issue"; IssuePanel.Visible = false; Panel1.Visible = true; OpenDropDownList.DataBind(); }
protected void btnDelete_Click(object sender, EventArgs e) { if (OpenDropDownList.SelectedValue == string.Empty) { StatusLabel.Text = "There are no current issues!"; } else { CreateImages.DeleteImages(OpenDropDownList.SelectedValue); StatusLabel.Text = MagazineData.DeleteIssue(OpenDropDownList.SelectedValue); OpenDropDownList.DataBind(); Panel1.Visible = true; IssuePanel.Visible = false; } }