One major difference between the Web Applications and Desktop Applications is that Web Applications are stateless. That means a web application runs on client-side and communicates with server-side in a stateless manner. When we use AJAX in our webform to submit form, JavaScript will make a request to the server, interpret the results and update the current portion of the screen, at that time user would never know anything that data was transmitted to the server.
Call Server-side Function Using jQuery Ajax Call
In my previous tutorials, I’d explained ajax introduction with example, how to call server-side method from javascript, how to call javascript function from code-behind and more cracking tutorials on Ajax, Asp.net, JavaScript and jQuery here. Now here in this tutorial, I’ll explain how to call server-side function using jquery ajax call from .aspx page as well as how to call code-behind method in c# or vb.net with example code.
DropDownList Country-State-City Cascading using Ajax
Now here in this tutorial, I’ll explain how to bind dropdownlist country-state-city cascading using ajax without page refresh that depends on one another in asp.net using c# as well as vb.net with example code. If you check my previous tutorials, I’d explained about simpe country-state-city cascading for dropdownlist, ajax introduction with example, dynamically bind and show data in dropdownlist, and other amazing tutorials on DropDownList, GridView, and Asp.net