/// <summary> /// Creates the new tag. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected void CreateNewTag(object sender, EventArgs e) { if (newTagTextBox.Text != "") { string[] tags = newTagTextBox.Text.Split(','); foreach (string s in tags) { if (s != "") { TaggableItem.AddTag(s.Trim()); } } UpdateData(); } }