protected void TopicEditor_TopicSaved(object sender, TopicEditEventArgs e) { if (e.NameChanged) { loadTree(e.TopicId); } TopicEditor.LoadTopic(e.TopicId); }
protected void treeMain_SelectedNodeChanged(object sender, EventArgs e) { TopicEditor.Visible = true; int topicid; if (int.TryParse(treeMain.SelectedNode.Value, out topicid)) { TopicEditor.LoadTopic(topicid); } }
protected void btnAdd_Click(object sender, EventArgs e) { TopicEditor.Visible = true; TopicEditor.LoadTopic(0); }
protected void TopicEditor_TopicAdded(object sender, TopicEditEventArgs e) { loadTree(e.TopicId); TopicEditor.LoadTopic(e.TopicId); }