ImageButton is always disabled, why?

Thread is closed for posting
2 posts, 0 answers
  1. Andrea Grandi
    Andrea Grandi avatar
    1 posts
    Member since:
    Dec 2012

    Posted 14 Dec 2012 Link to this post

    Hi,

    I'm trying to used an ImageButton in an example application and I wrote this code:

    <!--ContentPanel - place additional content here-->
            <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
                <telerikPrimitives:RadImageButton
                    x:Name="PlayButton"
                    ButtonShape="Ellipse"
                    IsEnabled="True"
                    BorderThickness="2"
                    ButtonBehavior="ToggleButton"
                    ButtonType="Custom"
                    RestStateImageSource="play.png"
                    PressedStateImageSource="pause.png"
                    HorizontalAlignment="Center"
                 />
            </Grid>

    The problem is that the button appears DISABLED even if the IsEnabled property is set to true. There is also another strange behaviour: if, from the propery window, I try to check the "IsEnabled" checkbox, the checkbox is not checked, as if the property wasn't valid. You can also give a look to the attached screenshot.

    What's wrong with my code? Thanks!
  2. Deyan
    Admin
    Deyan avatar
    2135 posts

    Posted 15 Dec 2012 Link to this post

    Hello Andrea,

    Please refer to the Support ticket you have opened regarding the same case.

    Greetings,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top