O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required