protected void btnUpdateRTE_Click(object sender, EventArgs e) { FormGeneratorData data = new FormGeneratorData(); data.SavePageControlSetting(hfPageControlID_ForEdit.Value, "4", txtRTE.Text); //4 = Content Block pnlAddEditContentBlock.Visible = false; pnlControlList.Visible = true; hfPageControlID_ForEdit.Value = ""; hfControlListID_ForEdit.Value = ""; LogMessage("Updated Content Block"); }