protected override Control AddEditor(Control container) { UrlSelector selector = new UrlSelector(Name); selector.AvailableModes = AvailableModes; selector.DefaultMode = OpeningMode; selector.Placeholder(GetLocalizedText("Placeholder") ?? Placeholder); container.Controls.Add(selector); return selector; }
protected override Control AddEditor(Control container) { UrlSelector selector = new UrlSelector(); selector.ID = this.Name; selector.AvailableModes = AvailableModes; selector.DefaultMode = OpeningMode; container.Controls.Add(selector); return selector; }