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

2 posts, 0 answers
  1. Steve
    Steve avatar
    84 posts
    Member since:
    Aug 2013

    Posted 10 Nov 2013 Link to this post

    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>
  2. Steve
    Steve avatar
    84 posts
    Member since:
    Aug 2013

    Posted 11 Nov 2013 Link to this post

    Never mind, I decided to use the PrimaryIconCssClass and the buttons show fine.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top