Allows an object specified by the ASPxButton.ValidationContainerID property to be found manually, if it can’t be found automatically (if it’s hidden within a naming container, for instance).
public event EventHandler<ControlResolveEventArgs> ValidationContainerResolve
Public Event ValidationContainerResolve As EventHandler(Of ControlResolveEventArgs)
The ValidationContainerResolve event's data class is ControlResolveEventArgs. The following properties provide information specific to this event:
|ControlID||Gets the ID value of a control that should be resolved.|
|ResolvedControl||Gets or sets the control relating to the event.|
The ValidationContainerResolve event occurs when the hierarchically-qualified identifier of a validation container specified by the ASPxButton.ValidationContainerID property is queried during button control rendering.
If the specified validation container 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 ValidationContainerResolve event, to obtain the required object manually.
The ValidationContainerResolve 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).