This project is read-only.

Project Description

This is a tutorial project.

PostBack is the name given to the process of submitting an ASP.NET page to the server for processing. PostBack is done if certain credentials of the page are to be checked against some sources (such as verification of username and password using database). This is something that a client machine is not able to accomplish and thus these details have to be 'posted back' to the server.

If we create a web Page, which consists of one or more Web Controls that are configured to use AutoPostBack (Every Web controls will have their own AutoPostBack property), the ASP.Net adds a special JavaScipt function to the rendered HTML Page. This function is named _doPostBack() . When Called, it triggers a PostBack, sending data back to the web Server.

In other words, ASP.Net automatically changes a client-side javascript event into a server-side ASP.Net event, using the _doPostBack() function as an intermediary. 


http://www.c-sharpcorner.com/uploadfile/2f73dd/what-is-postback-in-Asp-Net/

Must-Read:

http://www.codeproject.com/Articles/31701/ViewState-and-Postback

Advanced

http://www.c-sharpcorner.com/uploadfile/archak/detecting-refresh-or-post-back-in-Asp-Net/

http://msdn.microsoft.com/en-us/library/ms972976.aspx#viewstate_topic10

The view state is serialized to the hidden form field in the Page class's SavePageStateToPersistenceMedium() method during the save view state stage, and is deserialized by the Page class's LoadPageStateFromPersistenceMedium() method in the load view state stage. With just a bit of work we can have the view state persisted to the Web server's file system, rather than as a hidden form field weighing down the page. To accomplish this we'll need to create a class that derives from the Page class and overrides the SavePageStateToPersistenceMedium() and LoadPageStateFromPersistenceMedium() methods.

Last edited Sep 10, 2012 at 12:29 PM by aspnettutorial, version 8