Jquery UI Dialog 导致C#页面后台事件失效

$(function () {

dialog = $("#dialog-form").dialog({
autoOpen: false,
height: 450,
500,
modal: true,

close: function () {


}
});

//添加下面的代码就可解决了

dialog.parent().appendTo(jQuery("form:first"));

})

原文地址:https://www.cnblogs.com/178mz/p/4143032.html