We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DocumentEditor targeting .net 3.5 crashes with System.Windows.Markup.XamlParseException

Thread ID:





120902 Oct 26,2015 06:34 PM UTC Oct 27,2015 07:01 AM UTC WPF 2
Tags: RichTextBoxAdv
Robert Rostek
Asked On October 26, 2015 06:34 PM UTC

i opened the DocumentEditor_2013 demo solution.
it compiles and runs ok.

then i changed Application -> TargetFramework to .NET Framework 3.5
then i changed Build -> Conditional compilation symbols to Framework3_5

when i now compile and run the app, i get the following error:

An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'Cut' value cannot be assigned to property 'Name' of object 'System.Windows.Controls.MenuItem'. Names not supported under ResourceDictionary scope.  Error at object 'Cut'.
If there is a handler for this exception, the program may be safely continued.

similarily, when i just add the following to a fresh .net 3.5 wpf application:

<syncfusion:SfRichTextBoxAdv x:Name="rtb" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="300" Width="497"/>

the program crashes with the same message. what is wrong?

Robert Rostek
Replied On October 26, 2015 10:52 PM UTC

i found a solution by looking at the stickynotes sample - adding context menu handlers to the XAML solved it:

<Syncfusion:SfRichTextBoxAdv x:Name="rtb" Margin="5" LayoutType="Continuous" EnableMiniToolBar="False" OverridesDocumentBackground="False" Foreground="#000000">



<MenuItem Header="Cut" Command="Syncfusion:SfRichTextBoxAdv.CutCommand"/>

<MenuItem Header="Copy" Command="Syncfusion:SfRichTextBoxAdv.CopyCommand"/>

<MenuItem Header="Paste" Command="Syncfusion:SfRichTextBoxAdv.PasteCommand"/>




Narendran Srinivasan [Syncfusion]
Replied On October 27, 2015 07:01 AM UTC

Hi Robert,

Thank you for your interest in Syncfusion products.

A support incident has been created under your account to tract the status of your requirement. Please log on to our support website to check for further updates.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon