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>.

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).

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)

Get Programming Atlas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.