I have a list view which retrieves the data from sql data source. I am trying to make two buttons(Yes and No) and a label outside the list view visible only if the list view is not empty. The process is: a person enter the information into text boxes and click the button retrieve, if the entered data exists in the database, the list view shows certain information.I have the following code: \[code\]protected void btnExistingRetrive_Click(object sender, EventArgs e){ if (lstExisting.Items.Count>0 ) { lblIsITYou.Visible = true; btnYes.Visible = true; btnNo.Visible = true; }}\[/code\]By default buttons and the label are not visible.The problem is when i click on retrieve button it shows me the list view with the information but buttons a the label are still not visible. They became visible only when i double click the retrieve button. Please tell me what is my mistake?Thank you