The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientControl.SetHeight(height) Method

Specifies the control's height. Note that this method is not in effect for some controls.

Declaration

SetHeight(height: number): void

Parameters

Name Type Description
height number

An integer value that specifies the control's height.

Remarks

Although the SetHeight method is implemented within a base client object, it doesn't apply to all web controls provided by DevExpress. This method is in effect only for controls whose height can be sensibly changed on the client. For instance, this method is not supported by the following controls: ASPxScheduler, ASPxDataView, ASPxMenu, ASPxNewsControl, ASPxRoundPanel, ASPxTabControl, ASPxUploadControl, ASPxImageSlider, and the majority of our editors.

Calling the SetHeight method for a control that doesn't support modifying its height on the client does nothing.

Note

For ASPxGridView:

Set the VerticalScrollBarMode property to Auto or Visible to change a grid's height using the ASPxClientControl.SetHeight method.

See Also