Beispiel #1
0
        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;
        }
Beispiel #2
0
        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;
        }