public SelectingUploadCompositeControl() { SelectorControl = new FileSelector(); SelectorControl.ID = "Selector"; UploadControl = new FileUpload(); UploadControl.ID = "Uploader"; UploadLabel = new Label(); UploadLabel.AssociatedControlID = UploadControl.ID; }
protected override Control AddEditor(Control container) { FileSelector selector = new FileSelector(); selector.SelectableExtensions = FileSelector.ImageExtensions; selector.ID = Name; selector.Placeholder(GetLocalizedText("Placeholder") ?? Placeholder); container.Controls.Add(selector); return selector; }
protected override Control AddEditor(Control container) { FileSelector selector = new FileSelector(); selector.SelectableTypes = typeof(IFileSystemDirectory).Name; selector.ID = Name; selector.Placeholder(GetLocalizedText("Placeholder") ?? Placeholder); container.Controls.Add(selector); return selector; }
protected override Control AddEditor(Control container) { FileSelector selector = new FileSelector(); selector.SelectableExtensions = FileSelector.ImageExtensions; selector.ID = Name; container.Controls.Add(selector); return selector; }
protected override Control AddEditor(Control container) { FileSelector selector = new FileSelector(); selector.ID = Name; container.Controls.Add(selector); return selector; }
protected override Control AddEditor(Control container) { FileSelector selector = new FileSelector(); selector.SelectableTypes = typeof(IFileSystemDirectory).Name; selector.ID = Name; container.Controls.Add(selector); return selector; }