Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
protected closeBtn As LinkButton
protected myLiteral As Literal
Sub closePage(sender As Object, e As EventArgs)
Dim strjs as string = "<script language=""javascript"">"
strjs &= "window.close()"
strjs &= "</script" & ">"
Literal1.Text = strjs
End Sub
...
<asp:LinkButton id=closeBtn runat=server text=Close onClick=closePage />
<asp:Literal id=myLiteral runat=server />
...