Anthem.WebPartZone Class Reference

Creates an updatable control in the Web Parts control set for hosting WebPart controls on a Web page. More...

Inheritance diagram for Anthem.WebPartZone:

Anthem.IUpdatableControl List of all members.

Public Member Functions

override void RenderControl (HtmlTextWriter writer)
 Forces the server control to output content and trace information.

Protected Member Functions

override void OnPreRender (EventArgs e)
override void MinimizeWebPart (WebParts.WebPart webPart)
 Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.MinimizeWebPart, then sets UpdateAfterCallBack to true.
override void RestoreWebPart (WebParts.WebPart webPart)
 Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.RestoreWebPart, then sets UpdateAfterCallBack to true.
override void CloseWebPart (System.Web.UI.WebControls.WebParts.WebPart webPart)
 Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.CloseWebPart, then sets UpdateAfterCallBack to true.
override void Render (HtmlTextWriter writer)
 Renders the server control wrapped in an additional element so that the element.innerHTML can be updated after a callback.
override void OnLoad (EventArgs e)
 Raises the System.Web.UI.Control.Load event and registers the control with Anthem.Manager.

Properties

[Category("Anthem")][DefaultValue(false)][Description("True
if this control should be
updated after each callback.")]
virtual bool 
AutoUpdateAfterCallBack [get, set]
 Gets or sets a value indicating whether the control should be updated after each callback. Also see UpdateAfterCallBack.
[Browsable(false)][DefaultValue(false)] virtual bool UpdateAfterCallBack [get, set]
 Gets or sets a value which indicates whether the control should be updated after the current callback. Also see AutoUpdateAfterCallBack.
override bool Visible [get, set]
 Overrides the Visible property so that Anthem.Manager can track the visibility.

Detailed Description

Creates an updatable control in the Web Parts control set for hosting WebPart controls on a Web page.

Definition at line 16 of file WebPartZone.cs.


Member Function Documentation

override void Anthem.WebPartZone.OnPreRender ( EventArgs  e  )  [protected]

Parameters:
e 

Definition at line 23 of file WebPartZone.cs.

override void Anthem.WebPartZone.MinimizeWebPart ( WebParts.WebPart  webPart  )  [protected]

Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.MinimizeWebPart, then sets UpdateAfterCallBack to true.

Definition at line 90 of file WebPartZone.cs.

override void Anthem.WebPartZone.RestoreWebPart ( WebParts.WebPart  webPart  )  [protected]

Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.RestoreWebPart, then sets UpdateAfterCallBack to true.

Definition at line 100 of file WebPartZone.cs.

override void Anthem.WebPartZone.CloseWebPart ( System.Web.UI.WebControls.WebParts.WebPart  webPart  )  [protected]

Excecutes System.Web.UI.WebControls.WebParts.WebPartZoneBase.CloseWebPart, then sets UpdateAfterCallBack to true.

Definition at line 110 of file WebPartZone.cs.

override void Anthem.WebPartZone.Render ( HtmlTextWriter  writer  )  [protected]

Renders the server control wrapped in an additional element so that the element.innerHTML can be updated after a callback.

Definition at line 121 of file WebPartZone.cs.

override void Anthem.WebPartZone.OnLoad ( EventArgs  e  )  [protected]

Raises the System.Web.UI.Control.Load event and registers the control with Anthem.Manager.

Parameters:
e A System.EventArgs.

Definition at line 210 of file WebPartZone.cs.

override void Anthem.WebPartZone.RenderControl ( HtmlTextWriter  writer  ) 

Forces the server control to output content and trace information.

Definition at line 220 of file WebPartZone.cs.


Property Documentation

[Category("Anthem")][DefaultValue(false)][Description("True if this control should be updated after each callback.")] virtual bool Anthem.WebPartZone.AutoUpdateAfterCallBack [get, set]

Gets or sets a value indicating whether the control should be updated after each callback. Also see UpdateAfterCallBack.

true if the the control should be updated; otherwise, false. The default is false.

            <anthem:Label id="label" runat="server" AutoUpdateAfterCallBack="true" />

Implements Anthem.IUpdatableControl.

Definition at line 161 of file WebPartZone.cs.

[Browsable(false)][DefaultValue(false)] virtual bool Anthem.WebPartZone.UpdateAfterCallBack [get, set]

Gets or sets a value which indicates whether the control should be updated after the current callback. Also see AutoUpdateAfterCallBack.

true if the the control should be updated; otherwise, false. The default is false.

            this.Label = "Count = " + count;
            this.Label.UpdateAfterCallBack = true;

Implements Anthem.IUpdatableControl.

Definition at line 196 of file WebPartZone.cs.

override bool Anthem.WebPartZone.Visible [get, set]

Overrides the Visible property so that Anthem.Manager can track the visibility.

true if the control is rendered on the client; otherwise false. The default is true.

Definition at line 235 of file WebPartZone.cs.


The documentation for this class was generated from the following file:
Generated on Wed Mar 14 23:50:41 2007 for Anthem by  doxygen 1.5.1-p1