Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Error messages

$
0
0

Hi

I have a label set to show up when a user has not selected an item from the radio button list.

How do I get it to go away when a user selects an item?

My code so far is:

selectBachLabel.Visible = true;

if (bachSelectionRadioButtonList.SelectedItem == null)
{
selectBachLabel.Text = "Select the Bush or the Beach bach.";
}


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>