I am writing an application in asp.net (vb), I am having a problem wher textboxvalue is being set before the window open has been closed by the user is there a way of preventing this?
Sub btnSelectDate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSelectDate.Click
Dim Window As String
Window = " window.open('About.aspx', 'MsgWindow', 'width=500, height=500'); "
ClientScript.RegisterClientScriptBlock(Me.GetType, "date", Window, True)
textboxvalue.Text = "hello"
Page_Load()
End Sub