protected void btnSave_Click(object sender, EventArgs e) { if (_modcontroler != null) { _modcontroler.ModInfo.Enabled = rblEnabled.SelectedValue == "1"; _modcontroler.Save(); } }
protected void btnSave_Click(object sender, EventArgs e) { if (_modcontroler != null) { _modcontroler.ModInfo.Enabled = rblEnabled.SelectedValue == "1"; _modcontroler.ModInfo.Settings["MediaItems"] = txtMediaItems.Text; _modcontroler.Save(); } }
protected void btnSave_Click(object sender, EventArgs e) { if (_modcontroler != null) { _modcontroler.ModInfo.Enabled = rblEnabled.SelectedValue == "1"; _modcontroler.ModInfo.Settings["EventShowHolidays"] = rblHolidays.SelectedValue; _modcontroler.ModInfo.Settings["EventAdminRoles"] = String.Join(",", _dsRoles.ToArray()); _modcontroler.Save(); } }
protected void btnSave_Click(object sender, EventArgs e) { if (_modcontroler != null) { _modcontroler.ModInfo.Enabled = rblEnabled.SelectedValue == "1"; _modcontroler.ModInfo.Settings["FileUploadLocation"] = txtUploadLocation.Text; _modcontroler.ModInfo.Settings["AllowedImageTypes"] = txtAllowedImageTypes.Text; _modcontroler.ModInfo.Settings["AllowedAttachmentTypes"] = txtAllowedAttachmentTypes.Text; _modcontroler.ModInfo.Settings["FileSizeLimit"] = txtFileSizeLimit.Text; _modcontroler.ModInfo.Settings["TotalUploadLimitFileSize"] = txtTotalUploadLimitFileSize.Text; _modcontroler.ModInfo.Settings["TotalUploadLimitFileNumber"] = txtTotalUploadLimitFileNumber.Text; _modcontroler.ModInfo.Settings["AllowImageUpload"] = rblAllowImageUpload.SelectedValue; _modcontroler.ModInfo.Settings["AllowAttachments"] = rblAllowAttachments.SelectedValue; _modcontroler.Save(); } }