ASPxClientPanelBase.SetEnabled(enabled) Method

Sets a value specifying whether the panel is enabled.

Declaration

SetEnabled(enabled: boolean): void

Parameters

Name Type Description
enabled boolean

true to enable the panel; false to disable it.

Remarks

Use the SetEnabled method on the client to dynamically switch a panel's capability to respond to end-user interactions. In order to determine the panel's availability state, use the ASPxClientPanelBase.GetEnabled method on the client side.

Note

The SetEnabled method is not in effect if a panel is initially disabled on the server by setting the ASPxWebControl.Enabled property to false.

See Also