Query Description:
I am facing an issue with an AJAX file-uploader control inside an update panel. Once a file is successfully uploaded, I want to display a Bootstrap popup to the user.
Situation 1: When I include the update-panel property "updateMode='conditional'", the popup appears correctly after the file upload. However, the control located outside of the update panel does not render after a partial postback. I am using the following code snippet to trigger the JavaScript code from the code behind:
ScriptManager.RegisterStartupScript(this, this.GetType(), "AddStudent",
"addStudent('1','xyz','10000');",true);
Situation 2: If I remove the "updateMode='conditional'" property, the controls outside the update panel remain visible after a partial postback, but the popup does not work at all - meaning the script is not registered in the DOM.
Appreciate any assistance.