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

Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception while adding RadImageEditorUI control in WPF

1 Answer 404 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Hema
Top achievements
Rank 1
Hema asked on 09 May 2016, 08:54 AM

I have added the ImageEditor UI control in My XMAL window and got below error in runtime. i dont have any clue on this issue. i added all libraries based on sample program ; but its not working

OS : Windows 10

IDE: Viusal studio 2015 

Added Reference below Lib: Telerik.Windows.Controls version (2016.1.217.40)

Telerik.Windows.Controls.ImageEditor(2016.1.217.40)

Telerik.Windows.Controls.Navigation

 

Details Error Message:

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:tools="clr-namespace:Telerik.Windows.Media.Imaging.Tools;assembly=Telerik.Windows.Controls.ImageEditor" xmlns:commands="clr-namespace:Telerik.Windows.Media.Imaging.ImageEditorCommands.RoutedCommands;assembly=Telerik.Windows.Controls.ImageEditor"

 

//My XAML code 

<UserControl x:Class="Aagnaa_ImageEditor.ImageProcessngView"
             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:local="clr-namespace:Aagnaa_ImageEditor"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
            xmlns:tools="clr-namespace:Telerik.Windows.Media.Imaging.Tools;assembly=Telerik.Windows.Controls.ImageEditor"
            xmlns:commands="clr-namespace:Telerik.Windows.Media.Imaging.ImageEditorCommands.RoutedCommands;assembly=Telerik.Windows.Controls.ImageEditor"
            xmlns:converters="clr-namespace:Aagnaa_ImageEditor.Converters"
            xmlns:views="clr-namespace:Aagnaa_ImageEditor.Views"
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="1300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="300"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <!--<views:CropedImageView Grid.Column="0" x:Name="croppedFinalView"></views:CropedImageView>-->
        <Grid Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="300"></RowDefinition>
            </Grid.RowDefinitions>
            <!--image Editor for Post processing-->
            <telerik:RadImageEditorUI  Margin="8"/>

            <!--Processing Controls-->

        </Grid>
    </Grid>
</UserControl>


             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:local="clr-namespace:Aagnaa_ImageEditor"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
            xmlns:tools="clr-namespace:Telerik.Windows.Media.Imaging.Tools;assembly=Telerik.Windows.Controls.ImageEditor"
            xmlns:commands="clr-namespace:Telerik.Windows.Media.Imaging.ImageEditorCommands.RoutedCommands;assembly=Telerik.Windows.Controls.ImageEditor"
            xmlns:converters="clr-namespace:Aagnaa_ImageEditor.Converters"
            xmlns:views="clr-namespace:Aagnaa_ImageEditor.Views"
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="1300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="300"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <!--<views:CropedImageView Grid.Column="0" x:Name="croppedFinalView"></views:CropedImageView>-->
        <Grid Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="300"></RowDefinition>
            </Grid.RowDefinitions>
            <!--image Editor for Post processing-->
            <telerik:RadImageEditorUI  Margin="8"/>

            <!--Processing Controls-->

        </Grid>
    </Grid>
</UserControl>

 

 

Let me know if its common issue?

 

Regards

Hema

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 10 May 2016, 05:48 AM
Hello Hema,

We've tested the RadImageEditorUI with 2016.1.217.40 assemblies but we were not able to reproduce the exception. Can you please give us more details on which theme and binaries(Xaml or NoXaml)  do you use in the application? Also it would be helpful if you can tell us if the problem is reproduced with the design-time or run-time?

Looking forward to receiving your reply.

Regards,
Masha
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ImageEditor
Asked by
Hema
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or