I have very very plain test application with HtmlDataProvider and RadRichTextBox only. When I start the application RichTextBox area has small gray square in the corner (screen.png). I think this is a bug associated with HtmlDataProvider and html code which produce HtmlDataProvider.
MainWindow.xaml
MainWindow.xaml.cs
ViewModel.cs
MainWindow.xaml
<Window x:Class="TestTelerikWpfApp.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:local="clr-namespace:TestTelerikWpfApp" Title="MainWindow" Height="300"> <Window.Resources> </Window.Resources> <Grid> <telerik:HtmlDataProvider RichTextBox="{Binding ElementName=richTextBox}" Html="{Binding Path=Notes, Mode=TwoWay}" /> <telerik:RadRichTextBox Name="richTextBox" Width="800" Height="600" /> </Grid></Window>MainWindow.xaml.cs
using System;using System.Collections.Generic;using System.Linq;using System.Windows;using System.Windows.Data;using Telerik.Windows.Controls;namespace TestTelerikWpfApp{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); DataContext = new ViewModel(); } }}ViewModel.cs
using System;using Telerik.Windows.Controls;namespace TestTelerikWpfApp{ public class ViewModel : ViewModelBase { private String notes; public String Notes { get { if (null == notes) { Notes = String.Empty; } return this.notes; } set { if (value != this.notes) { this.notes = value; OnPropertyChanged(() => this.Notes); } } } }}