Upgrade Issue

2 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 14 Nov 2013 Link to this post

    Hi,

    Please see the three bolded StaticResource elements that are unresolved.  I just updated to the latest version  of the Telerik comtrols and updated the references.  Can you please tell me what i need to do to correct this.This was working before the upgrade. If you can expedite this I would greatly appreciate it,  I am dead in the water.

    Thanks
    Rich

    <telerik:RadWindow x:Class="QueryManager.RadMessageBox"
                       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                       xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                       xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                       Style="{StaticResource RadWindowStyle}"
                       ResizeMode="NoResize"
                       IsTabStop="False"
                       MaxWidth="500"
                       WindowStartupLocation="CenterScreen"
                       MinWidth="275"
                       mc:Ignorable="d"
                       d:DesignHeight="500" d:DesignWidth="400">

        <Grid x:Name="LayoutRoot" FocusManager.FocusedElement="{Binding ElementName=OK}">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.InputBindings>
                <KeyBinding Key="Escape" Command="{x:Static telerik:WindowCommands.Confirm}"/>
            </Grid.InputBindings>
            <ContentPresenter x:Name="Icon" VerticalAlignment="Top" Margin="16 8 8 8" ContentTemplate="{StaticResource ConfirmIconTemplate}"/>
            <ScrollViewer IsTabStop="False" Grid.Row="0" Grid.Column="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="0 0 0 8">
                <TextBlock Name="Message" Text="Custom RadWindow as Alert window." VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"/>
            </ScrollViewer>
            <Border x:Name="HorizontalRule" Grid.Row="1" Grid.ColumnSpan="4" BorderThickness="0 0 0 1" Height="2" Background="{StaticResource BorderLineOuterColor}" BorderBrush="{StaticResource BorderLineInnerColor}" VerticalAlignment="Top"/>
            <telerik:RadButton x:Name="Yes" Click="YesButtonClick" Grid.Row="2" Grid.Column="1" MinWidth="60" IsTabStop="True" TabIndex="0" HorizontalAlignment="Right" Content="Yes" Margin="0 10 8 8" />
            <telerik:RadButton x:Name="No" Click="NoButtonClick" Grid.Row="2" Grid.Column="2" MinWidth="60" IsTabStop="True" TabIndex="0" HorizontalAlignment="Right" Content="No" Margin="0 10 8 8" />
            <telerik:RadButton x:Name="Cancel" Click="CancelButtonClick" telerik:RadWindow.ResponseButton="Cancel" telerik:LocalizationManager.ResourceKey="Cancel" Grid.Row="2" Grid.Column="3" MinWidth="60" IsTabStop="True" TabIndex="0" HorizontalAlignment="Right" Margin="0 10 8 8" />
        </Grid>
    </telerik:RadWindow>
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Nov 2013 Link to this post

    Hello Rich,

    The provided information is not enough for us to find the cause of this issue, from the code snippet it seems that you're using implicit styles ( as you're referencing the default RadWindow Style), have you merged the needed xaml files?  Can you send us a small demo project showing the issue, so we can test it locally?

    Looking forward to your reply.

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top