{"id":72,"date":"2014-05-22T21:47:00","date_gmt":"2014-05-22T20:47:00","guid":{"rendered":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/22\/difference-between-a-postback-and-a-callback-in-asp-net\/"},"modified":"2014-05-22T21:47:00","modified_gmt":"2014-05-22T20:47:00","slug":"difference-between-a-postback-and-a-callback-in-asp-net","status":"publish","type":"post","link":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/22\/difference-between-a-postback-and-a-callback-in-asp-net\/","title":{"rendered":"Difference between a Postback and a Callback in ASP.NET?"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>43 Second                <\/div>\n\n            <\/div><div dir=\"ltr\" style=\"text-align: left;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\"><span style=\"background-color: white; color: #444444; line-height: 24px;\">\u201c<\/span><i style=\"background-color: white; border: 0px; color: #444444; line-height: 24px; margin: 0px; padding: 0px; vertical-align: baseline;\">A&nbsp;<span style=\"border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">postback<\/span>&nbsp;is a request sent from a client to server from the same page, user is already working with.<\/i><span style=\"background-color: white; color: #444444; line-height: 24px;\">\u201cASP.NET was introduced with a mechanism to post an HTTP POST request back to the same page. It\u2019s basically posting a complete page back to server (i.e. sending all of its data) on same page. So, the whole page is refreshed.<\/span><\/span><br \/>\n<span style=\"background-color: white; color: #444444; line-height: 24px;\"><span style=\"font-family: Arial, Helvetica, sans-serif;\"><br \/><\/span><\/span><\/p>\n<div style=\"background-color: white; border: 0px; color: #444444; line-height: 24px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\"><i style=\"border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">A&nbsp;<span style=\"border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">callback<\/span>&nbsp;is generally a call for execution of a function after another function has completed<\/i>.\u201d But if we try to differentiate it from a postback then we can say: It\u2019s a call made to the server to receive specific data instead of whole page refresh like a postback. In ASP.NET, its achieved using AJAX, that makes a call to server and updating a part of the page with specific data received.<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u201cA&nbsp;postback&nbsp;is a request sent from a client to server from the same page, user is already working with.\u201cASP.NET was introduced with a mechanism to post an HTTP POST request back to the same page. It\u2019s basically posting a complete page back to server (i.e. sending all of its data) on same page. So, the whole [&hellip;]<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[23],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-asp-net"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Himanshu Namdeo","author_link":"https:\/\/debuggersspace.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"\u201cA&nbsp;postback&nbsp;is a request sent from a client to server from the same page, user is already working with.\u201cASP.NET was introduced with a mechanism to post an HTTP POST request back to the same page. It\u2019s basically posting a complete page back to server (i.e. sending all of its data) on same page. So, the whole&hellip;","_links":{"self":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}