My ideas

Monday, November 20, 2006

Make an alert box in asp .net version 2.0 appear before page load , refresh

in the Page_Load add

Me.Button.Attributes.Add("onClick", "alert('You Message')")

And after it has been clicked once, and u dont want to see it again
Me.Button.Attributes.Remove("onClick")

You can put a condition on that, to check if its clicked or not

8 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home