Hey,
Go to the onclick event of your button and type...
Code:
response.redirect("thepage.aspx")
just like asp classic.
You could also use the server.transfer method (also used in the click event of your button) as decribed at
http://www.developer.com/net/asp/article.php/3299641 and
http://www.aspfree.com/c/a/ASP-Code/...ansfer-Method/
Server.transfer is cool. You can create a property on your first page and then access it from the second page. Like this:
Code:
'page one
Public ReadOnly Property SearchBox() As String
Get
Return Me.TxtSearch.Text
End Get
End Property
'page two
Public SearchBox2 As home 'where home is the name of the class on page one
SearchBox2 = CType(Context.Handler, home)
'.searchBox is the property from the first page
Dim sSearch As String = SearchBox2.SearchBox.ToString
mark