The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to use a single TextBoxExt with three different AutoComplet lists. I need to programattically set the propery sheet for "AutoComplete on xyzList". However, I can''t find them in documented or in intllisense. Can please you show me the way.
Thanks,
Kenton
ADAdministrator Syncfusion Team June 15, 2004 10:30 PM UTC
Hi Kenton,
In the AutoCompleteDemo sample (Editors Package\AutoComplete\AutoCompleteDemo) there is some sample code that demonstrates what you are looking for (in MainForm.cs).
Here is the code snippet that demonstrates how you can programatically enable AutoCompletion for any control(s):
private void button1_Click(object sender, System.EventArgs e)
{
AutoCompleteModes mode = this.autoComplete1.GetAutoComplete(this.comboBox1);
if(mode == AutoCompleteModes.Disabled)
this.autoComplete1.SetAutoComplete(this.comboBox1, AutoCompleteModes.AutoSuggest);
else
this.autoComplete1.SetAutoComplete(this.comboBox1, AutoCompleteModes.Disabled);
}
private void button2_Click(object sender, System.EventArgs e)
{
AutoCompleteModes mode = this.autoComplete1.GetAutoComplete(this.textBox1);
if(mode == AutoCompleteModes.Disabled)
this.autoComplete1.SetAutoComplete(this.textBox1, AutoCompleteModes.Both);
else
this.autoComplete1.SetAutoComplete(this.textBox1, AutoCompleteModes.Disabled);
}
Regards
Arun
KHKenton HensleyJune 16, 2004 01:45 PM UTC
Thank you I see it now. Sorry to put you to the bother.
Would you have any comment about my post concerning the extra space held by the docing manager?
Many thanks for your assistance,
Kenton