<< Back to the snippet list

Checking for post back

Published: 09 Jun 2008 By Sonu Kapoor

One of the concepts around ASP.NET that seems a little strange at first sight is that of postback, put simply when you check for postback you are essentially asking if a control on the page has invoked communication with the server after the initial response. This doesn't apply to XMLHttpRequest's to the server. As a result it is common to perform an expensive set of operations once, and then refer to cached versions on subsequent postbacks to the server.

asp.net c# PostBack

Please login to leave a comment.