private void RenderBrowserMode(ComponentController paComponentController) { String lcBase64RegionalConfig; String lcBase64AppManifestConfig; String lcBase64JSONTable; lcBase64RegionalConfig = General.Base64Encode(clSettingManager.RegionalConfigStr); lcBase64AppManifestConfig = General.Base64Encode(General.JSONSerialize(clAppManifestDictionary)); lcBase64JSONTable = General.Base64Encode(TimeZoneManager.GetInstance().GetJSONTable()); IncludeExternalLinkFiles(paComponentController); paComponentController.AddElementType(ComponentController.ElementType.Control); paComponentController.AddBareAttribute(ctSETRegionalConfig, lcBase64RegionalConfig); paComponentController.AddBareAttribute(ctTBLAppManifest, lcBase64AppManifestConfig); paComponentController.AddElementAttribute(ComponentController.ElementAttribute.ea_OptionList, lcBase64JSONTable); paComponentController.AddAttribute(HtmlAttribute.Class, ctCLSWidControlPOSGeneralSetting); paComponentController.RenderBeginTag(HtmlTag.Div); RenderContainer(paComponentController); paComponentController.RenderEndTag(); RenderExternalComponentsContainer(paComponentController); }
private void RenderExternalComponents(ComponentController paComponentController) { RenderSelectionPanel(paComponentController, ctPNTTimeZone, ctDYTTimeZoneListTitle, TimeZoneManager.GetInstance().GetTimeZoneDictionary()); RenderSelectionPanel(paComponentController, ctPNTDateFormat, ctDYTDateFormatListTitle, clSettingManager.GetDateFormatOptionDictionary()); RenderImagePopUp(paComponentController); }