I used 3 ddl for address purpose using ajax extention (script manager and update panel)
they worked but when user never select any country,state or city and submit then header for each ddl (select country,select city,select state) stored in database.
DropDownList using ajax
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jun 14, 2013, 9:24 AM EDT
Ex:
within insert button click event write below code
if(ddlCountry.SelectedIndex==0)
{
lblmsg.text="select country";
return;
}
if(ddlCity.SelectedIndex==0)
{
lblmsg.text="select city";
return;
}
if(ddlstate.SelectedIndex==0)
{
lblmsg.text="select state";
return;
}
after this code insert data to database.
you can also use javascript
if any problem rply
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jun 14, 2013, 8:27 AM EDT
ex-
if (!IsPostBack)
{
Bind(); //or your dropdown bindcode
}
Arun Kurmi96 reputationPosted Jun 14, 2013, 9:16 AM EDT