Latest Builds Ignore Style Property

3 posts, 0 answers
  1. Gregory
    Gregory avatar
    4 posts
    Member since:
    Nov 2010

    Posted 28 Dec 2010 Link to this post

    I'm trying to set the Style of both a RadDropDownButton and a RadButton. This exact XAML worked before but now it does not.  I've tried everything to localize the issue, but it comes down to the fact that it just downright ignores the Style property set in XAML. I've included it below, however, as I said, even doing the simplest style, even in the same XAML files resources section, ends up being ignored. It works fine with version 2010.2.924.1040. Why doesn't it work with later versions?

        <Style x:Key="RemoveButtonStyle" TargetType="ContentControl">
                <Setter Property="ContentTemplate">
                            <StackPanel Orientation="Horizontal">
                                <Image Width="32"
                                <ContentPresenter Content="{Binding}" />
                <Setter Property="ToolTipService.ToolTip" Value="Remove Record"/>

  2. Gregory
    Gregory avatar
    4 posts
    Member since:
    Nov 2010

    Posted 28 Dec 2010 Link to this post

    As a side note, I CAN get the ContentTemplate property set if I do it manually in the control instead of doing it through the style, but this was all working before and setting the ContentTemplate property of all these buttons is not the desired solution.
  3. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 30 Dec 2010 Link to this post

    Hi Gregory,

    I posted an answer to the bug report you sent. However, I will paste it here as well, should anyone else encounter the issue as well:

    This is a known issue introduced with the latest official release and we have logged it in our PITS where you can track its status.

    Please accept our apology for the caused inconvenience.

    Best wishes,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top