Back to Devexpress

Loading Panel

aspnet-8283-components-docking-and-popups-loading-panel.md

latest4.6 KB
Original Source

Loading Panel

  • Jul 02, 2021
  • 2 minutes to read

You can use ASPxLoadingPanel to display a custom ‘Loading…’ text and image. It notifies users that a callback is currently processing, and helps to prevent them from clicking away before the callback has been completed. You can display the loading panel in the center of the page or within other elements (such as a div element).

This topic lists the features that are unique to the ASPxLoadingPanel.

Control Features

  • You can use specific style properties, or assign a CSS class, to customize the control’s appearance.

  • In modal mode, the loading panel is displayed over the page controls and retains focus while active.

  • The client-side API allows you to show or hide the loading panel, and display it over the specified page element.

  • You can customize the control’s visual content (text and image).

Visual Elements

This section describes the on-screen ASPxLoadingPanel elements and lists the main members that affect their appearance and functionality.

Loading Panel

The Loading Panel includes the Loading Panel Text and the Loading Panel Image elements. It is displayed over the Loading Div element.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
VisibilityThe ASPxLoadingPanel control’s Visible property.
AppearanceThe ASPxLoadingPanel control’s appearance settings.
SizeThe ASPxLoadingPanel control’s Width and Height properties.
TemplateASPxLoadingPanel.Template
PaddingsASPxLoadingPanel.Paddings
AlignmentASPxLoadingPanel.HorizontalAlign, ASPxLoadingPanel.VerticalAlign
ModeASPxLoadingPanel.Modal
PositionASPxLoadingPanel.HorizontalOffset, ASPxLoadingPanel.VerticalOffset

Loading Div

The Loading Div is shown when the ASPxLoadingPanel.Modal property is enabled. It can be displayed over an entire page of controls or within a specific control (if the ASPxLoadingPanel.ContainerElementID property is defined).

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
VisibilityASPxLoadingPanel.Modal
StyleASPxLoadingPanel.LoadingDivStyle

Loading Panel Image

The Loading Panel Image is displayed within the loading panel.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
VisibilityASPxLoadingPanel.ShowImage
ImageASPxLoadingPanel.Image
SpacingASPxLoadingPanel.ImageSpacing
PositionASPxLoadingPanel.ImagePosition

Loading Panel Text

The Loading Panel Text is displayed within the loading panel.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
TextASPxLoadingPanel.Text
AlignmentASPxLoadingPanel.HorizontalAlign, ASPxLoadingPanel.VerticalAlign
StyleThe ASPxLoadingPanel control’s Font property.