public void Page_Load(object sender, EventArgs e) { if (IsForbidden) { return; } PageUtils.CheckRequestParameter("siteId"); _styleInfoList = TableStyleManager.GetSiteStyleInfoList(SiteId); if (!IsPostBack) { VerifySitePermissions(ConfigManager.WebSitePermissions.Configration); TbSiteName.Text = SiteInfo.SiteName; var nameValueCollection = TranslateUtils.DictionaryToNameValueCollection(SiteInfo.Additional.ToDictionary()); LtlAttributes.Text = GetAttributesHtml(nameValueCollection); BtnSubmit.Attributes.Add("onclick", InputParserUtils.GetValidateSubmitOnClickScript("myForm")); } else { LtlAttributes.Text = GetAttributesHtml(Request.Form); } }