problem with asp textbox control
<p>i have a textbox control in asp.net. textbox have a search button beside it. On clicking the search button i redirect to new page with the value in textbox. the new page also hase textbox and button beside it. I set the value sent from previous page to the textbox on new page. If i change the value on new page and click the search button it should take the new value. But it takes the previous value.
on page load method wrote the following code.</p>

<pre><code>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        str1 = Request.QueryString("str1").ToString()
        flag = Request.QueryString("flg")
        txtsrch.Text = str1
End Sub
</code></pre>

<p>On button click following code</p>

<pre><code>Protected Sub bsrcnew_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bsrcnew.Click
        Dim s As String


        s = txtsrch.Text

        If (flag.Equals(0)) Then
            Response.Redirect("newSearch.aspx?str1=" + s)
        ElseIf (flag.Equals(1)) Then
            Response.Redirect("termsnew.aspx?str1=" + s)

        End If
end sub
</code></pre>

<p>can any1 tell me how do i get changed value in textbox?</p>
