Vote count: 0
I am having a problem where my textbox control text does not get cleared when I try to clear it.
I have tried the following methods:
textbox1.Text = "";
textbox1.Text = string.Empty;
textbox1.Clear();
textbox1.SelectAll();
textbox1.SelectedText = string.Empty;
textbox1.Select(0,textbox1.Length);
textbox1.SelectedText = string.Empty;
I have also tried to Focus on the textbox with textbox1.Focus() and then try the other things
Can anyone help?
asked 47 secs ago
The textbox text does not get cleared
Aucun commentaire:
Enregistrer un commentaire