I am refreshing an UpdatePanel with Javscript by calling a method like so:
reloadDropDown = function (newValue)
{
__doPostBack("DropDown1", "");
selectNewValueInDropDown(newValue);
}
Inside my UpdatePanel is a <select>
box that I need to select an <option>
with a newValue. My problem is that my selectNewValueInDropDown
method is being called prior to the __doPostBack
from completing. Is there a way I can "wait" for the postback before calling my selectNewValueInDropDown
method?