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 | 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 ASPx
Set the Vertical
#Online Example
- 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