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. Image for the cookie policy date

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

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?

2 Replies

RR Robert Rostek 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"/>




NS Narendran Srinivasan Syncfusion Team 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.


Live Chat Icon For mobile
Up arrow icon