How to call server side function from client side javascript in ASP.Net?
How to call serverside function from client side javascript in ASP.Net? Call ASP.Net/C# function using Javscript Usually in ASP.net platform, server side functions (all codes written in asp.net,C#) are executing from the server side and all client side funtions (javascript,jquery,ajax) are executing from the client side. Obviously client side functions are too faster than the server side because there is no need to go upto server, will running from the browser itself. But we are unable to written all functions in client side to get good performance. But for this technique, there is some tips can be used. What we are going to do is, we are writing a server side code in ASP.Net,C# and call these functions from client side using javascript and ajax. Steps to Calling ServerSide method from javscript Create a aspx page with three textboxes and a button control. User enter two numbers in first two textboxes and press calculate button. We are fetching entered values an...