在后台工作的方法中,我有两行重要的代码:
createPopup();
MessageBox.Show(sth);
more lines
more lines
createPopup()只是创建一个弹出式窗口,添加一个网格作为子级并显示弹出式窗口。我的问题是,为什么首先显示messageBox,然后显示弹出窗口,在此方法中的所有行完成后显示弹出窗口?在此方法中的所有行都将完成之前,我如何使此弹出窗口显示?
我在我的母版页中有这个div。
<div id="UICancelChanges" title="Are you sure?" style="display: none;">
Your changes have not been saved. Are you sure you want to CANCEL ?
</div>
单击时,我正在打开Jquery对话框弹出窗口。
CancelEdit = function (accountId) {
$(