This is a migrated thread and some comments may be shown as answers.

Upgrade Issue

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 14 Nov 2013, 08:14 AM
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>

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Nov 2013, 09:53 AM
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 >>
Tags
General Discussions
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or