In general RadButton supports custom Width and Height, except when using ButtonType="StandardButton " the height is fixed to 22px and cannot be modified. The implementation of custom height and support for rounded corners, requires rendering of additional HTML elements and makes the control heavy on the client.
In the future releases, we plan to introduce a way to make RadButton more flexible when it comes to using different height.
If custom height is indeed required, try the solutions below:
Note that the button's dimensions can be set not only in pixels, but also in different System.Web.UI.WebControls.Unit types.
In the future releases, we plan to introduce a way to make RadButton more flexible when it comes to using different height.
If custom height is indeed required, try the solutions below:
- Use RadButton as an ImageButton - see Image Buttons demo.
- or use RadButton as a LinkButton - see First Look.
- or use RadButton as a StandardButton with EnableBrowserButtonStyle set to true. Note that this property will render RadButton as a standard input type=[submit|button].
Note that the button's dimensions can be set not only in pixels, but also in different System.Web.UI.WebControls.Unit types.