title: JCrop Problem  with asp.net masterpage
body: <p>I have a MasterPage,defaultPage and Cropper page and I am able to use JCrop when I have only default.aspx page and not master page and the cropper page. </p>
  
  <p>Problem:When I have am having masterpage then I am unable to use the Jcrop as it is not showing the Image Cropper rectangle.</p>
  
  <p>Any help will be appreciated!</p>
  
  <p>Here is my code:</p>
  
  <p>Head part of Master Page:</p>
  
  <pre><code> &lt;link href="css/jquery.Jcrop.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script src="js/jquery-1.6.2.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.Jcrop.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.Jcrop.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.color.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
  &lt;/asp:ContentPlaceHolder&gt;
  </code></pre>
  
  <p>Body Part of MasterPage:</p>
  
  <pre><code>&lt;form id="form1" runat="server"&gt;
  &lt;div&gt;
      &lt;asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"&gt;
  
      &lt;/asp:ContentPlaceHolder&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here is my Cropper.aspx code:</p>
  
  <pre><code>&lt;asp:Panel ID="pnlUpload" runat="server"&gt;
    &lt;asp:FileUpload ID="Upload" runat="server" /&gt;
    &lt;br /&gt;
    &lt;asp:Button ID="btnUpload" runat="server" OnClick="btnUpload_Click" Text="Upload" /&gt;
    &lt;asp:Label ID="lblError" runat="server" Visible="false" /&gt;
  &lt;/asp:Panel&gt;
  &lt;asp:Panel ID="pnlCrop" runat="server" Visible="false"&gt;
    &lt;asp:Image ID="imgCrop" runat="server" /&gt;
    &lt;br /&gt;
    &lt;asp:HiddenField ID="X" runat="server" /&gt;
    &lt;asp:HiddenField ID="Y" runat="server" /&gt;
    &lt;asp:HiddenField ID="W" runat="server" /&gt;
    &lt;asp:HiddenField ID="H" runat="server" /&gt;
    &lt;asp:Button ID="btnCrop" runat="server" Text="Crop" OnClick="btnCrop_Click" /&gt;
  &lt;/asp:Panel&gt;
  &lt;asp:Panel ID="pnlCropped" runat="server" Visible="false"&gt;
    &lt;asp:Image ID="imgCropped" runat="server" /&gt;
  &lt;/asp:Panel&gt;
  </code></pre>