Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Partial Class _Default
- Inherits System.Web.UI.Page
- Protected Sub btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn.Click
- End Sub
- Protected Sub btn_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn.Load
- If Not Page.IsPostBack Then
- btn.Attributes.Add("onclick", "javascritpt:return sum();")
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment