Geeks With Blogs

News


Google RankGoogle PRâ„¢ - Post your Page Rank with MyGooglePageRank.com



The content on this site represents my own personal opinions and thoughts at the time of posting, and does not reflect those of my employer's in any way.

Disclaimer:- All postings in this blog is provided "AS IS" with no warranties, and confers no rights.
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">

    <div>

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

     

      <asp:Button ID="Button1"

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

                  OnClick="Button1_Click"

                  Text="Click Me!"

                  runat="server" />

     

    </div>

</form>

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: GeeksWithBlogs.net