summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/ActivePanel.page
blob: 30f8a619f6f4b1962557fb8d870705ecbbb0de05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<com:TContent ID="body" >

<h1 id="170025">TActivePanel</h1>
<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActivePanel" />

<p class="block-content">

<tt>TActivePanel</tt> is the <tt>TPanel</tt> active control counterpart.
<tt>TActivePanel</tt> allows the client-side panel contents to be updated during a
callback response using the <tt>render</tt> method.
Example: Assume $param is an instance of <tt>TCallbackEventParameter</tt> attached to
the <tt>OnCallback</tt> event of a <tt>TCallback</tt> with ID "callback1", and
"panel1" is the ID of a <tt>TActivePanel</tt>.

<com:TTextHighlighter Language="text" CssClass="source block-content">
function callback1_requested($sender, $param)
{
	   $this->panel1->render($param->getNewWriter());
}
</com:TTextHighlighter>

<com:RunBar PagePath="ActiveControls.Samples.TActivePanel.Home" />

</com:TContent>