Skip to main content
Tab

ASPxLoadingPanel.ContainerElementResolve Event

Allows an object specified by the ASPxLoadingPanel.ContainerElementID property to be found manually, if it can’t be found automatically (for instance, if it’s hidden within a naming container).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event EventHandler<ControlResolveEventArgs> ContainerElementResolve

Event Data

The ContainerElementResolve event's data class is ControlResolveEventArgs. The following properties provide information specific to this event:

Property Description
ControlID Gets the ID value of a control that should be resolved.
ResolvedControl Gets or sets the control relating to the event.

Remarks

The ContainerElementResolve event occurs when the hierarchically-qualified identifier of a control specified by the ASPxLoadingPanel.ContainerElementID property is queried during loading panel rendering.

If the specified object cannot be found within a web page in a standard manner (for instance, it is contained within a naming container such as an ASPxRoundPanel, or there is more than one object with the same ID on the page - within UserControl objects), you should handle the ContainerElementResolve event to obtain the required object manually.

The ContainerElementResolve event argument’s parameters allow you to identify the control that should be found (the ControlResolveEventArgs.ControlID property) and point out the resolved control (the ControlResolveEventArgs.ResolvedControl property).

See Also