I have a button named "Clear" which mean that the app will reload. How can I do that? I have used this JavaScript but when a window is to be closed a message box occurs and that is not smart. Is there a smarter way of doing this?

Code:
Dim strScript As String = ""
        strScript = "<script>"
        strScript = strScript & "var winName= '';"
        strScript = strScript & "var w;"
        'strScript = strScript & "var winFeatures = 'width=' + (screen.availWidth - 10) + ',height=' + (screen.availHeight - 30) + ',top=0,left=0,status,toolbar';"
        strScript = strScript & "var winURL = 'http://www.vbdotnet.dk';"
        strScript = strScript & "w = window.open(winURL,winName);"
        strScript = strScript & "window.close();"
        strScript = strScript & "</script>"

        'Allows the alert box to be shown without wiping the controls off the page.
        Page.RegisterStartupScript("ClientScript", strScript)