Skip to main content

ASPxClientPopupControlBase.AdjustSize Method

Modifies a control’s window size in accordance with the content.

Declaration

AdjustSize(): void

Remarks

The AdjustSize method is useful to recalculate the window’s size after its content was changed on the client side.

<dx:ASPxPopupControl ID="Popup" runat="server" ClientInstanceName="ClientPopup" ...>
    <ClientSideEvents EndCallback="OnEndCallback" />
</dx:ASPxPopupControl>
function OnEndCallback(s, e) {
    ClientPopup.AdjustSize();
}

Note

An AdjustSize method call has no effect for the ASPxPopupControl’s popup windows collection specified via the ASPxPopupControl.Windows property.

See Also