Unplanned
Last Updated: 01 Oct 2018 11:57 by ADMIN
ADMIN
Anna
Created on: 01 Oct 2018 11:56
Category: RichTextBox
Type: Bug Report
0
RichTextBox: DataProviders content is not rendered at design time
When a data provider is used, the designer does not show the RadRichTextBox content, that is shown with no problem at run time.

Workaround: The issue is with finding the format provider used by the data provider. This issue appears at design time only. The workaround is to manually set the format provider of the data provider:
        <telerik:HtmlDataProvider
            x:Name="htmlDataProvider"
            RichTextBox="{Binding ElementName=radRichTextBox, Mode=OneWay}"
            Html="&lt;h1&gt;Header3&lt;/h1&gt;">
            <telerik:HtmlDataProvider.FormatProvider>
                <telerik:HtmlFormatProvider />
            </telerik:HtmlDataProvider.FormatProvider>
        </telerik:HtmlDataProvider>
0 comments