• .NET Mobile

    How to set a custom height for RadButton and RadFormDecorated buttons in ASP.NET AJAX

    Lately we’ve been receiving one question quite often - is it possible to increase the RadButton and / or RadFormDecorator’s button default height. Usually people are trying to set the needed value to the Height property: <telerik:RadFormDecorator runat="server" DecoratedControls="All" /> <asp:Button runat="server" Text="RadForm Button" Height="40" /> <telerik:RadButton runat="server" Text="RadButton" Height="40"> </telerik:RadButton>   But the result is not pretty:      By default the RadButton as well as ASP Buttons and inputs of type=”button” decorated by the RadFormDecorator are visually built with sprite images that apply a specific gradient to the element. The sprite image has a specific height, which means you cannot just change the button’s height property because the sprite image will be either cut off or...