From 4aa6dcff694eb6bbdbe139ae3eb45a38b2f397ea Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 21:29:36 +0000 Subject: added documentation for TActiveLinkButton class --- .../pages/ActiveControls/ActiveLinkButton.page | 19 +++++++++ .../protected/pages/ActiveControls/Home.page | 4 +- .../Samples/TActiveLinkButton/Home.page | 46 ++++++++++++++++++++++ .../Samples/TActiveLinkButton/Home.php | 14 +++++++ 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.php (limited to 'demos/quickstart/protected') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page new file mode 100644 index 00000000..387b40af --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page @@ -0,0 +1,19 @@ + + +

TActiveLinkButton

+ + +

+TActiveLinkButton is the active control counter part to TLinkButton. +When a TActiveLinkButton is clicked, rather than a normal post back request a +callback request is initiated. +The OnCallback event is raised during a callback request +and it is raise after the OnClick event. +When the ActiveControl.EnableUpdate +property is true, changing the Text property during callback request +will update the link text upon callback response completion. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 110d0660..ac972c6e 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -60,8 +60,8 @@ TActiveButton control. See also the later part of the TActiveLinkButton - represents a hyperlink that can perform a callback request. + TActiveLinkButton + represents a hyperlink that can perform a callback request.
  • diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page new file mode 100644 index 00000000..0c896f64 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page @@ -0,0 +1,46 @@ + + +

    TActiveLinkButton Samples

    + + + + + + + + + + + +
    +Link button with only body content: + + +body content + +
    +A click link button: + + +
    +A callback link button: + + +
    +A button causing validation: + + + + +
    + +
    $Id$
    \ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.php new file mode 100644 index 00000000..64e2dede --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.php @@ -0,0 +1,14 @@ +Text="Callback Parameter: {$param->CallbackParameter}"; + else + $sender->Text="I'm clicked"; + } +} + +?> \ No newline at end of file -- cgit v1.2.3