Specifies the control’s height. Note that this method is not in effect for some controls.
SetHeight( height: number ): void
The control’s height.
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.
Set the VerticalScrollBarMode property to Auto or Visible to change a grid’s height using the ASPxClientControl.SetHeight method.
- Grid View for ASP.NET Web Forms - How to display the Grid View in full screen mode
- Grid View for ASP.NET MVC - How to display the Grid View in full screen mode