From fe60cc221f922ea362826e2d00431c5df28fe85f Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 6 Oct 2006 03:46:05 +0000 Subject: fixed #410 #412 --- .../quickstart/protected/pages/ActiveControls/ActiveButton.page | 9 ++++----- demos/quickstart/protected/pages/ActiveControls/Home.page | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'demos/quickstart/protected/pages/ActiveControls') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page index 7bbe05ea..adf50d22 100644 --- a/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveButton.page @@ -60,8 +60,7 @@ public function button_callback($sender, $param)

With in the ActiveControl property is an instance of TCallbackClientSide available -as a property ClientSide of ActiveControl or similarly -as a sub-property ActiveControl.ClientSide of TActiveButton. +as a property ClientSide of TActiveButton. The ClientSide property contains sub-properties, such as RequestTimeOut, and client-side javascript event handler, such as OnLoading, that are used by the client-side when making a callback request. @@ -77,7 +76,7 @@ when the client-side is making a callback request. Text="Click Me" OnCallback="button_callback" ActiveControl.CallbackParameter="value" > - <prop:ActiveControl.ClientSide + <prop:ClientSide OnLoading="Element.show('callback_status')" OnComplete="Element.hide('callback_status')" /> </com:TActiveButton> @@ -85,9 +84,9 @@ when the client-side is making a callback request.

The example loads the "effects" javascript library using the TClientScript component. -The ActiveControl.ClientSide.OnLoading property value contains +The ClientSide.OnLoading property value contains javascript statement that uses the "effects" library to show the "Loading..." -span tag. Similarly, ActiveControl.ClientSide.OnComplete property +span tag. Similarly, ClientSide.OnComplete property value contains the javascript statement that hides the "Loading..." span tag. See TCallbackClientSide for further details on client-side property details. diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 38fee25d..bef855c9 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -5,7 +5,7 @@ for a quick overview of the concept behind active controls (AJAX enabled controls). Most active controls have a property of ActiveControl and -a sub-property ActiveControl.ClientSide +a sub-property ClientSide that provides many properties to customize the controls. The CallbackClient property of the TPage class provides many methods to update and alter the client-side content -- cgit v1.2.3