Dim message As String = "XXXXXXXXXXXXXXXままでよろしいですか?" Dim js As String = "<script>alert('" & message & "');</script>" Me.ClientScript.RegisterStartupScript(Me.GetType, "MsgBox", js)