finding the previouspage control on current page
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/984883/previouspage-findcontrol-getting-variable-from-previous-page">previouspage.findcontrol getting variable from previous page</a>  </p>
</blockquote>



<p>Hi am new to asp am using this code to get the value of textbox from the previous page 
here is my code</p>

<pre><code>if (!IsPostBack)
        {
            name1 = (TextBox)PreviousPage.FindControl("name");
            Response.Write(name1.Text);
        }
</code></pre>

<p>but this code returns the value of <code>textbox name1=""</code></p>

<p>anyone can help me.....regarding this problem</p>
