title: User control PostBack URL Issues
body: <p>In my project, I have create user control and dynamically load it in the place holder. But now I am having problem with PostBack URL issues.</p>
  
  <p>I need to pass value to other page from the user control to other page. </p>
  
  <p>Please see my code at below</p>
  
  <p>Here is my front-end user control</p>
  
  <pre><code>&lt;div class="rightColumnModule2TitleContainer"&gt;
  &lt;table class="rightColumnModule2Table"&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;div class="rightColumnModule2Title"&gt;Contact Person&lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;asp:Button ID="Button1" runat="server" Text="Button"  PostBackUrl="~/Module/Sales/Customer/CreateContactListing.aspx"/&gt;
  
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>In my other page</p>
  
  <pre><code> protected void Page_Load(object sender, EventArgs e)
      {
          try
          {
              if (!Page.IsPostBack)
              {
                  if (PreviousPage.IsCrossPagePostBack)
                  {
  
                  }
               }
          }
          catch (Exception ex)
          {
              logger.Error(ex.Message);
              throw;
          }
      }
  </code></pre>
  
  <p>I am getting error on <strong>(PreviousPage.IsCrossPagePostBack)</strong></p>
  
  <p>Here is my error</p>
  
  <p><code>Unable to cast object of type 'ASP.module_sales_customer_createsalescustomer_aspx' to type 'LewreERP_MixsolProject.Module.Sales.Customer.SalesCustomerListing'.</code></p>
  
  <p>Please guide me. Thanks in advance.</p>