title: Updatepanel and fancybox not working unless fancybox is opened twice
body: <p>Ok I have a page being pulled through onto the fancybox popup,</p>
  
  <p>(note: the paging works 100% on the page itself), </p>
  
  <p>but when on the fancybox I attempt to page through the repeater and nothing happens.
  I then close the popup and reopen it without refreshing the page, and paging now works?</p>
  
  <p>I refresh the page then have to go through the process of opening the popup then trying to page through the repeater then close the popup then reopen it and the paging works again.</p>
  
  <p>Can anyone point me in the right direction as to what maybe causing this? I've already attempted Change the 'body' to 'form' method's.</p>
  
  <p>EDIT: It does manage 1 postback, then it freezes and if reopened works for more then 1 postback.</p>
  
  <p>EDIT: I have found that when the update panel send the request and comes back it creates a secondary __VIEWSTATE object in the updatepanel.</p>
  
  <p>Code for the page being called:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs"Inherits="AfricaCentre.Search" EnableEventValidation="false" EnableViewState="false" %&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;%--&lt;script type="text/javascript" src="&lt;%= ResolveUrl("~/scripts/Scripts.js")  %&gt;"&gt;&lt;/script&gt;--%&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt;
  &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;
  &lt;/asp:ScriptManager&gt;
  &lt;!-- SEARCH --&gt;
  &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
      &lt;ContentTemplate&gt;
          Hello
          &lt;asp:Button Text="Test" runat="server" /&gt;
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;    &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Code Link button calling the fancybox with script:</p>
  
  <pre><code>&lt;a id="search" href="/Search" class="fancybox.ajax"&gt;SEARCH&lt;/a&gt;
  $("#search").fancybox(
              {
                  type: 'ajax',
                  autoSize: false,
                  padding: 0,
                  width: 800,
                  height: 567,
                  scrolling: 'no',
                  openEffect: 'fade',
                  openSpeed: 'slow',
                  transitionIn: "elastic",
                  transitionOut: "elastic",
                  autoScale: false,
                  hideOnContentClick: false,
                  afterLoad: function () {
                  }
              }
          );
  </code></pre>