protected override void InitDialogContent(Control container) { base.InitDialogContent(container); this.ID = "userSelectorDialog"; HtmlForm form = (HtmlForm)WebControlUtility.FindParentControl(this, typeof(HtmlForm), true); if (form != null) { form.Style["width"] = "100%"; form.Style["height"] = "100%"; } this.Width = Unit.Percentage(100); this.Height = Unit.Percentage(100); InitUserInputControl(WebControlUtility.FindControlByHtmlIDProperty(container, "userInputContainer", true)); if (this.IsConsign) { InitConsignTypeSelector(WebControlUtility.FindControlByHtmlIDProperty(container, "consignTypeContainer", true)); InitSequenceTypeSelector(WebControlUtility.FindControlByHtmlIDProperty(container, "sequenceTypeContainer", true)); } }
protected override void InitDialogContent(Control container) { base.InitDialogContent(container); this.ID = "ServiceImportDialog"; HtmlForm form = (HtmlForm)WebControlUtility.FindParentControl(this, typeof(HtmlForm), true); if (form != null) { form.Style["width"] = "100%"; form.Style["height"] = "100%"; } this.DialogTitle = "ServiceImport"; this.Width = Unit.Percentage(100); this.Height = Unit.Percentage(100); InitChildControls(container); }
protected override void InitDialogContent(Control container) { base.InitDialogContent(container); this.ID = "ImageUploaderDialog"; HtmlForm form = (HtmlForm)WebControlUtility.FindParentControl(this, typeof(HtmlForm), true); if (form != null) { form.Style["width"] = "100%"; form.Style["height"] = "100%"; } this.DialogTitle = "上传图片"; this.Width = Unit.Percentage(100); this.Height = Unit.Percentage(100); InitChildControls(WebControlUtility.FindControlByHtmlIDProperty(container, "imageUploader_container", true)); }
protected override void InitDialogContent(Control container) { this.rootContainer = container; base.InitDialogContent(container); container.Controls.Add(this.tree); HtmlForm form = (HtmlForm)WebControlUtility.FindParentControl(this, typeof(HtmlForm), true); if (form != null) { form.Style["width"] = "100%"; form.Style["height"] = "100%"; } this.Width = Unit.Percentage(100); this.Height = Unit.Percentage(100); }