4

i have a dropdownlist

in codebehind,i have this function

protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
    ///////
}

now i want to show modal popup when a particular text is selected from the dropdownlist from this function

Svetlozar Angelov
  • 21,214
  • 6
  • 62
  • 67
Mishigen
  • 1,241
  • 6
  • 26
  • 37

1 Answers1

8
if(DropDownList1.SelectedItem.Text.Equals("Some Text"))
{
     ModalPopupExtender1.Show();
}
Matthew Jones
  • 25,644
  • 17
  • 102
  • 155