Hi,
Where did you bind the dropdownlist it have binded the dropdownlist in page load you can use this javascript
or
You can try like this
in child page
ClientScript.RegisterStartupScript(this.GetType(), "msg", "alert(' Details Added Successfully!');window.close();window.opener.__doPostBack('ChildWindowPostBack', '');", true);
in parent page:
this.ClientScript.GetPostBackEventReference(this, string.Empty);
if (this.IsPostBack)
{
string eventTarget = (this.Request["__EVENTTARGET"] == null) ? string.Empty : this.Request["__EVENTTARGET"];
if (eventTarget == "ChildWindowPostBack")
{
//bind the dropdownlist
}
}
}