Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in.

//// Code Snippet


<form id="form1" runat="server">


      <h3>To Exceute Client Click Event</h3>


      <asp:Button ID="Button1"

                  OnClientClick='javascript:alert("You Just Clicked ME!")'


                  Text="Click Me!"

                  runat="server" />




Posted on Tuesday, September 5, 2006 9:32 AM .Net | Back to top

Comments on this post: How to Execute Javascript on Server Control for ASP.NET 2.0

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Gaurav Taneja | Powered by: