Is it possible to call an ASP.NET function inside a Javascript function? -


Is it possible to call an ASP.NET function inside the JavaScript function? Like

  and lt;% @ page language = "c #" autoevolutionwireUP = "true" codefile = "default.aspx.cs" inherits = "_default" % & Gt; & Lt;% @ Import Namespace = "System.Xml"% & gt; & Lt ;; DOCTYPE HTML PUBLIC "- // W3C // DTT XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & Lt; Script runat = "server" & gt; Protected void btnSave_Click (Object Sender, EventArgs E) {} & lt; / Script & gt; & Lt; Head & gt; ..... & lt; / Head & gt; & Lt; Script type = "text / javascript" language = "javascript" & gt; Function ABC () {. . . . BtnSave_Click (this, e); }  

This code is just to give me an idea of ​​what I want.

No, you will need to return a post to the server to complete it.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -