/// <summary> /// Inject the autocomplete extender /// </summary> private void AddTitleAutoCompletion() { // Add a title extender for the title autocomplete this.titleAutoCompleteExtender = new TitleAutoCompleteExtender(); this.titleAutoCompleteExtender.TargetControlID = this.FindControl("title_TextBox").ID; this.titleAutoCompleteExtender.ID = "title_titleAutoCompleteExtender"; this.Controls.Add(this.titleAutoCompleteExtender); }
/// <summary> /// Inject the autocomplete extender /// </summary> private void AddTitleAutoCompletion() { // Add a title extender for the title autocomplete this.titleAutoCompleteExtender = new TitleAutoCompleteExtender(); this.titleAutoCompleteExtender.TargetControlID = this.FindControl("title_TextBox").ID; this.titleAutoCompleteExtender.ID = "title_titleAutoCompleteExtender"; this.Controls.Add(this.titleAutoCompleteExtender); }