Search Here

Custom Search

Monday, August 6, 2007

Autocomplete mode of ComboBox in .NET2.0

Today I wanna discuss about a new feature of .NET2.0 that was not in .NET1.1
Many times we need the users of a software to give the facility of auto completion and prompting of text when writing.
In .NET2.0 ComboBox and TextBox has the facility.
Just set the Autocomplete property to any of the following
{Suggest,Append,SuggestAndAppend}
And the Autocomplete DataSource to any one of the following
{ListItem,CustomDataSource,.......}

Then you will see the effect after running the application.
But there is not a facility that Microsoft did not provide. There is no option to provide the Font of the ListItems that is prompted when autocomplete is in action. But this is really very important. Hope MS will provide this facility in the next updates.

No comments: