Regarding Jquery Modalpopup
Hi ,
I am trying to implement jquery modalpopup in my application but getting this error:
Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_mainContent_phContent_updpanel1. If it is being updated dynamically then it must be inside another UpdatePanel.
Actually I am trying to open a usercontrol page in my jquery modalpopup n that usercontrol page having multiple update panels ,that is requirement of my application ,so i can not remove it .
Here is the code :
function
SaveAsReportPopup() { $(
"#divSaveAs"
).dialog({ autoOpen:
false
, bgiframe:
true
, resizable:
false
, width: 680,
modal:
true
, closeOnEscape:
false
, close:
function
(event, ui) { $(
this
).remove(); }
});
$(
"#divSaveAs").parent().appendTo($("form"
)); }
source code :
<
div
id
="divSaveAs"
style
="
display
:
none
;
">
<
uc1:WebUserControl ID="WebUserControl1" runat="server" />
</
div
>
please suggest me .