Hello!
I have a RadRichTextBox inside a DataTemplate, and I have HtmlDataProvider inside RadRichTextBox.Resources section bound to it. But for some reason this does not work, error message is:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=RichTextBox'. BindingExpression:(no path); DataItem=null; target element is 'HtmlDataProvider' (Name=''); target property is 'RichTextBox' (type 'RadRichTextBox')
I can bind provider with radrichtextbox after both controls are initialized, but I want to do that in XAML.
Is there a way to accomplish this task?
(Also I could not attach sample project, because only image files are allowed)...
I have a RadRichTextBox inside a DataTemplate, and I have HtmlDataProvider inside RadRichTextBox.Resources section bound to it. But for some reason this does not work, error message is:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=RichTextBox'. BindingExpression:(no path); DataItem=null; target element is 'HtmlDataProvider' (Name=''); target property is 'RichTextBox' (type 'RadRichTextBox')
I can bind provider with radrichtextbox after both controls are initialized, but I want to do that in XAML.
Is there a way to accomplish this task?
(Also I could not attach sample project, because only image files are allowed)...