How to clear the Autocomplete textbox control value at run time in .net

Home Forums General Programming C# How to clear the Autocomplete textbox control value at run time in .net

This topic contains 0 replies, has 1 voice, and was last updated by  Ankur 6 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3270

    Ankur
    Moderator

    you need to set following two property of textbox in the following order

    textBox1.AutoCompleteMode = AutoCompleteMode.None;
    textBox1.AutoCompleteSource = AutoCompleteSource.None;

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.