Programming Atlas

D.2. UpdatePanel

With the UpdatePanel control, a section of an Atlas-powered page can be updated independently from the rest of the page; the content resides in the <ContentTemplate> subelement of <atlas:UpdatePanel>.

D.2.1. Properties

Property

Description

Mode

When to refresh: Always (i.e., whenever a postback occurs) or Conditional (i.e., only when a trigger causes the refresh)

RenderMode

How to render the contents of the UpdatePanel: in a <div> element (Block, default) or in a <span> element (Inline).

D.2.2. Triggers

The <Triggers> subelement of the UpdatePanel control contains triggers that can cause the refresh of the UpdatePanel's contents. There are two triggers available: <ControlEventTrigger> and <ControlValueTrigger>, with these properties:

Property

Description

ControlID

ID of the control who can pull the trigger

EventName

Event who causes the trigger to be pulled (<ControlEventTrigger> only)

PropertyName

Property whose change causes the trigger to be pulled (<ControlValueTrigger> only)

Категории