Wednesday, March 26, 2008

Post back in ASP .NET

In old ASP, classic ASP, using post method in form is to post the values of a Form to another page. The another asp page will receive the data and processing it on the server side.

With ASP .NET, it is already changed. They are separated a entity with ability to process its own posted data. So the values of the Form are posted to the same page and the same page can process the data. It is called post back.

This post back is a read only property with each ASP .NET Page (System.Web.UI.Page) class. This is false when the first time the page is loaded and is true when the page is submitted and processed. This enables users to write the code depending on if the post back is true or false (with the use of the function Page.IsPostBack()).

Control it with AJAX. Then you can get the nice performance.

2 comments:

Darkie said...

What you had talked about is post back property of ASP.NET.

Here my question
1) is it ASP.NET technology?
2) what is postback event?
3) what is(are) the differences between autopostback and ispostback?

Anonymous said...

Everyone needs to know about it. A failure to implement ASP.NET Ajax in versions [previous developers] asp.net know about a single post again. This full-page publication. We have a property to find C # code with Page.IsPostBack.
cheap cyprus holiday