Problem with ModalPopupExtender in AJAX in asp.net c#
<p>I have one form to save customer details.For that i have used updatepanel &amp; formview. Also i used modalpopupextender to open popup in Click event of image button inside that form. But when i am using modalpopupextender then i cant save my customer details, without use of modalpopupextender  i can save customer details. For that i have added code as following, but its giving error as <code>"An extender can't be in a different UpdatePanel than the control it extends."</code> :</p>

<pre><code>    &lt;asp:ImageButton ID="imb1" 
            Text="Refresh Panel"
            runat="server" /&gt;
&lt;asp:ScriptManager ID="ScriptManager1" 
                   runat="server" /&gt;
&lt;asp:UpdatePanel ID="UpdatePanel1" 
                 UpdateMode="Conditional"
                 runat="server"&gt;
                 &lt;Triggers&gt;
                   &lt;asp:AsyncPostBackTrigger ControlID="imb1" /&gt;
                 &lt;/Triggers&gt;
                 &lt;ContentTemplate&gt;
               // Here is my code to add 

                 &lt;/ContentTemplate&gt;
&lt;/asp:UpdatePanel&gt;
</code></pre>

<p>Please help me what to do?
Asp.net c#</p>
