From ef81c440220286dafb7b5f3c639d1d76e0f32f62 Mon Sep 17 00:00:00 2001
From: Fabio Bas
Date: Sun, 12 Jan 2014 23:45:18 +0100
Subject: Quickstart Doc overhaul, pt. 2: active controls + minor fixes
---
demos/quickstart/protected/pages/Fundamentals/Pages.page | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'demos/quickstart/protected/pages/Fundamentals')
diff --git a/demos/quickstart/protected/pages/Fundamentals/Pages.page b/demos/quickstart/protected/pages/Fundamentals/Pages.page
index 0f3a8d9f..58f4f06d 100755
--- a/demos/quickstart/protected/pages/Fundamentals/Pages.page
+++ b/demos/quickstart/protected/pages/Fundamentals/Pages.page
@@ -11,7 +11,8 @@ Each page can have a template file
PostBack
A form submission is called postback if the submission is made to the page containing the form. Postback can be considered an event happened on the client side, raised by the user. PRADO will try to identify which control on the server side is responsible for a postback event. If one is determined, for example, a TButton, we call it the postback event sender which will translate the postback event into some specific server-side event (e.g. OnClick and OnCommand events for TButton).
-
+
+TPage has a IsPostBack property exposing whether the current request being handled is the first request for this page or the consequence of a postback.
CallBack
@@ -24,6 +25,7 @@ A callback is handled as a normal postback but, instead of re-rendering the enti
the javascript instructions needed to update the page;
some specific fields used by prado to mantain the pagestate and add the needed external resources (stylesheets, javascript files, etc..).
+TPage has a IsCallBack property exposing whether the current request being handled is the consequence of a callback. Since a callback is also a postback, both IsPostBack and IsCallBack are true during callback requests.
Page Lifecycles
--
cgit v1.2.3