What is IPostBack? How to use it?

Submitted by: Administrator
Gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.
Property Value

true if the page is being loaded in response to a client postback; otherwise, false.

void Page_Load() {
if (!IsPostBack) {
// Validate initially to force asterisks
// to appear before the first roundtrip.
Validate();
}
}
Submitted by: Administrator

Read Online ASP.NET 2.0 Job Interview Questions And Answers