Speeple News Search

Sign Up! | Tags | Domains | Statistics | Options | Advanced Search

To execute Javascript from the Button click and then run the server side code.

asp.net » 2008 » October » 1st » To execute Javascript from the Button click and then run the server side code.

Tagged: c, script, javascript, asp, button, client side, server side, do postback

An easy ways to do this is to call the __doPostBack() function of the javascript. An example is as follows: However in Visual Studio 2005, the server and the client code can be directly run from the button attributes only. OnClick property: For server side scripts OnClientClick: For client side scripts E.g Continue Reading »


Latest news from < Azamat Ali />:

  1. How to access Radio Button List in the Javascript
  2. Response.Write("Hello World")

Latest news from asp.net:

  1. Windows 7 Developer Guide
  2. Live Framework Webcast!
  3. MSDN Office Developer Center: neue Inhalte
  4. MIX09 10K Smart Coding Challenge
  5. Running the Lightweight Test Automation Framework for ASP.NET from a separate application