K
KatMagic
How do you force a drop down list to default to a particular item based on
its value?
I have a drop down list with options Yes, No, Maybe, All, and I would like
it to default to "All"
This is my code, what am I doing wrong?
ddlBilling.SelectedIndex =
ddlBilling.Items.IndexOf(ddlBilling.Items.FindByValue("All"))
its value?
I have a drop down list with options Yes, No, Maybe, All, and I would like
it to default to "All"
This is my code, what am I doing wrong?
ddlBilling.SelectedIndex =
ddlBilling.Items.IndexOf(ddlBilling.Items.FindByValue("All"))