This is a migrated thread and some comments may be shown as answers.

Radio Button Width

1 Answer 154 Views
Button
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 22 Jan 2016, 04:48 PM

There seems to be a bug in the latest release 2016.1.113. We have RadButtons using the ToggleType of Radio and the ButtonType of StandardButton like so:

<telerik:RadButton ID="rbCreditCardPresent" runat="server" ToggleType="Radio" ButtonType="StandardButton" GroupName="paymenttype" ValidationGroup="pospay" AutoPostBack="false" Text="CC - Present" OnClientClicked="CheckChanged" CommandName="Present" Width="125px">

Using version 2015.1.401 the width has always been properly displayed. After upgrading to 2016.1.113 it seems like the width if basically ignored. The buttons end up being the width of the text like in the attached image. 

 It seems like a workaround is to add a CSS class like the following, however that is kind of an annoyance and in Chrome this causes the text to dance around in the box when the page is loading. Is this truly a bug or am I missing something?

.wide input {
    width: 100% !important;
}

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 25 Jan 2016, 11:24 AM
Hello David,

Is the setup that you are using similar to the setup in the following demo - http://demos.telerik.com/aspnet-ajax/button/examples/radiosandcheckboxes/defaultcs.aspx?

I will assume that you are using the classic rendering of the RadButton. We haven't done any changes to it, hence the issue that you are describing is very unlikely. My advice is to open a support ticket and attach a sample page there with the button setup so that we can investigate the problem in details.

Regards,
Niko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Button
Asked by
David
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or