Refresh parent dropdownlist from popup in asp.net c#
问题 I have a dropdwnlist control in my parent page - ASP.NET C#, on click of button there is a popup opening to add new value to the control. [+] In PopUp page - Save button , I have the following code : Response.Write("<script>opener.loadOptionLandlord('" + stid + "','" + strLandlorconn_dbame + "');</script>"); Response.Write("<script>window.close();</script>"); where loadOptionLandlord is a function in my parent page : function loadOptionLandlord(val,txt) { var opt = document.createElement('