You can use the IsPostBack property of the actual page.
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Page.IsPostBack Then
Dim txtvalue As string = "string inside textbox"
Textbox1.Text = txtstring
end if
end sub
Happy coding.