This question is locked. New answers and comments are not allowed.
Hello World
I am getting an exception when i am trying to use RadRichTextBox. Control is added to page successfully but when i am trying to load my page it gives me an exception
Code : 4004
Category : ManagedRuntimeError
Message : System.TypeInitizlizationException : The Type initializer for 'Telerik.Windows.Document.UI.Extensibility.RadCompositionInitizlizer' threw..
it opens the VS debugger
please let me know how the solve this kind of prob ASAP. my xaml code is
I am getting an exception when i am trying to use RadRichTextBox. Control is added to page successfully but when i am trying to load my page it gives me an exception
Code : 4004
Category : ManagedRuntimeError
Message : System.TypeInitizlizationException : The Type initializer for 'Telerik.Windows.Document.UI.Extensibility.RadCompositionInitizlizer' threw..
it opens the VS debugger
please let me know how the solve this kind of prob ASAP. my xaml code is
<navigation:Page x:Class="PracticeAssignments.Home" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:telerikWindowsControls="clr-namespace:Telerik.Windows;assembly=Telerik.Windows.Controls" xmlns:telerikDocuments="clr-namespace:System;assembly=Telerik.Windows.Documents" xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data" xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" xmlns:telerikRichTextBoxCommands="clr-namespace:Telerik.Windows.Documents.RichTextBoxCommands;assembly=Telerik.Windows.Documents" xmlns:telerikRichTextBoxUI="clr-namespace:Telerik.Windows.Controls.RichTextBoxUI;assembly=Telerik.Windows.Controls.RichTextBoxUI" xmlns:telerikFormatProRTF="clr-namespace:Telerik.Windows.Documents.FormatProviders.Rtf;assembly=Telerik.Windows.Documents" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" Title="Home" Style="{StaticResource PageStyle}"> <Grid x:Name="LayoutRoot"> <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}" Margin="-54,-8,-62,-22"> <StackPanel x:Name="ContentStackPanel" VerticalAlignment="Center"> <telerik:RadRichTextBox VerticalAlignment="Center" HorizontalAlignment="Center" Width="200"></telerik:RadRichTextBox> </StackPanel> </ScrollViewer> </Grid></navigation:Page>