In button click we call the two javascript function:-
just drag and drop the button control to Page.In page load assing the javascript function to button control.[code]Partial Class _Default Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'bind the alertbox() and confirmbox function to button control Button1.Attributes.Add("onclick", "alertbox();confirmbox();") End SubEnd Class
[/code]