我有一个用户控件,我想在弹出窗口中显示,我按照以下方式执行,但弹出窗口根本没有显示
<div id="Dialog" style="display:none;">
<asp:UpdatePanel ID="UpPan" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<uc:Search runat="server" ID="uc_Find" ModePopup="true"/>
</ContentTemplate>
<script type="text/javascript">
$(document).ready(function () {
$('#Dialog').dialog({
autoOpen: false,
modal: true,
minHeight: 450,
height: 680,
title: 'Edit',
width: 780,
resizable: false,
open: function (event, ui) {
$(this).parent().appendTo($('form:first'));
}
});
});
</script>
this.Page.OpenDialog("Edit", "Dialog");