Update Panels are used when there is partial postback of page can happen.
2 Ajax Calls
If you want to minimize postbacks to the extent Ajax calls are used.
For implementing that we need jquery libraries
jquery min.js
and we will create our jscript file inside that we will make ajax call to the page and return all the HTML from it and append the result from it to any container of the calling page.
Ex :
$("button").click(function(){
$.ajax({
url: "Insert.aspx", // Name of the called page where ajax call goes
success: function(result){
$("#div1").html(result); // bind result to the calling page
}});
});
0 Comment(s)