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

Can't seem to get text to show for toggle radio button

1 Answer 25 Views
Button
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 10 Nov 2013, 05:44 PM
I've been banging my head against the wall for the past few hours trying to get the text to show next to a toggled image. The images toggle fine, but I cannot seem to get the text to display no matte what. Anyone know what I'm doing wrong?

<telerik:RadButton ID="RadButton2" runat="server" Text="Walk in" AutoPostBack="false" ButtonType="ToggleButton" GroupName="HowFound" ToggleType="Radio" Style="top: 34px; left: 12px; position: absolute;" >
    <ToggleStates>
        <telerik:RadButtonToggleState ImageUrl="../Images/bad_mark.png" Height="22px" Width="22px" Text="Walk in" />
        <telerik:RadButtonToggleState ImageUrl="../Images/good_mark.png" Selected="true"  Height="22px" Width="22px" Text="Walk in"/>
    </ToggleStates>
</telerik:RadButton>
<telerik:RadButton ID="RadButton1" runat="server" AutoPostBack="false" Text="Ad" ButtonType="ToggleButton" GroupName="HowFound" ToggleType="Radio" Style="top: 34px; left: 62px; position: absolute;" >
    <ToggleStates>
        <telerik:RadButtonToggleState ImageUrl="../Images/bad_mark.png"  Height="22px" Width="22px" Text="Ad" />
        <telerik:RadButtonToggleState ImageUrl="../Images/good_mark.png" Selected="true"  Height="22px" Width="22px" Text="Ad"/>
    </ToggleStates>
</telerik:RadButton>

1 Answer, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 1
answered on 12 Nov 2013, 02:45 AM
Never mind, I decided to use the PrimaryIconCssClass and the buttons show fine.
Tags
Button
Asked by
Steve
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 1
Share this question
or