Radion Button Disable Problem

2 posts, 0 answers
  1. Amir
    Amir avatar
    1 posts
    Member since:
    May 2011

    Posted 07 Jul 2011 Link to this post


    I'm using Telerik Controls in our current project. Radio button is not displayed correctly when it is in disabled mode. I open the RadioButtonSprit picture and found out that there is no image for radio button disabled mode same as combox. Do you know any way to solve this problem?

    Amir .H
  2. Bozhidar
    Bozhidar avatar
    677 posts

    Posted 07 Jul 2011 Link to this post

    Hello Amir,

    I am not sure which version of the controls you are using, but with the latest, everything works fine. Look at the following code:

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
        <style type="text/css">
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <telerik:RadFormDecorator ID="RFD1" runat="server" DecoratedControls="All" Skin="Hay" />
        <asp:RadioButton ID="rad1" runat="server" Text="Enabled Radio" />
        <asp:RadioButton ID="rad2" runat="server" Text="Disabled Radio" Enabled="false" />

    The result could be seen at the attached radioDisabled.gif.

    Attached is also RadioButtonSprites.png which is the sprite for the Hay skin. The last two radios in the sprite are the disabled states for checked and unchecked state for radio button.

    All the best,
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  3. DevCraft R3 2016 release webinar banner
Back to Top