Specifies the control’s width.
SetWidth( width: number ): void
An integer value that specifies the control’s width.
Although the SetWidth 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 width can be sensibly changed on the client. For instance, this method is not supported by the following controls: ASPxMenu, ASPxUploadControl, ASPxCheckBox, ASPxFilterControl, ASPxHyperLink, ASPxLabel, ASPxRadioButton, ASPxImageSlider and ASPxClientWebChartControl.
Calling the SetWidth method for a control that doesn’t support modifying its width on the client does nothing.