Here is how you use an alert:
FCode:Sub btn1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Dim script As String = "<script language=javascript>alert('Hello World');</scrip" & "t>" Page.RegisterStartUpScript("myscript", script) End Sub




Reply With Quote