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

2 posts, 0 answers
  1. Hema
    Hema avatar
    9 posts
    Member since:
    Feb 2015

    Posted 09 May Link to this post

    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

  2. Masha
    Admin
    Masha avatar
    355 posts

    Posted 10 May Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top