i am not getting what exactly happens when we use ajax.Page doesn't get refreshed everytime means what? is it related to page_load method or what
The browser does http calls on a background thread, and you use javascript to modify the DOM when the result returns. This prevents you from refreshing the whole page and can modify parts on it at will.
Check out the definition at wikipedia for more information.
If you do ajax in a asp.net application page_load will be called for the page you request, just like a normal call. It's the rendering in the browser which is different. ¨ Key concepts: background calls and scripting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With