void PreferenceAdd_ControlCancelled(object sender) { PreferenceEdit1.Clear(); btnAddNewPreference.Visible = true; pnlGrids.Visible = true; divEdit.Visible = false; }
void PreferenceAdd_ControlSaved(object sender, ControlSavedEventArgs e) { PreferenceEdit1.Clear(); BindGrids(); btnAddNewPreference.Visible = true; pnlGrids.Visible = true; divEdit.Visible = false; lblFeedback.Text = string.Format("Preference saved: {0}", DateTime.Now); }