This question is locked. New answers and comments are not allowed.
Hello,
The Loaded event of the RadRichTextBox is not fire when I move record to record.
So, in my RadDataForm, I have a RadRichText control. How I can manage the RadRichTextBox in this code?
I need to manipulate it thru the CurrentItemChanged event of the RadDataForm.
The Loaded event of the RadRichTextBox is not fire when I move record to record.
So, in my RadDataForm, I have a RadRichText control. How I can manage the RadRichTextBox in this code?
I need to manipulate it thru the CurrentItemChanged event of the RadDataForm.
<telerik:DataFormDataField Grid.Row ="1" Grid.Column="0" Grid.ColumnSpan="2" Width="800" HorizontalAlignment="Left" IsEnabled="False" DataMemberBinding="{Binding Note, Mode=TwoWay}" > <telerik:DataFormDataField.ContentTemplate> <DataTemplate> <telerik:RadRichTextBox x:Name="richTextBox" Width="690" Height="250" Margin="-195,0,0,0" BorderBrush="#a1acb7" BorderThickness="1" Background="#ebebeb" IsReadOnly="True" IsSpellCheckingEnabled="False" IsSelectionMiniToolBarEnabled ="False" IsContextMenuEnabled="False" Loaded="richTextBox_Loaded" > <telerik:RadRichTextBox.Resources> <telerikHtml:HtmlDataProvider x:Key="htmlDataProvider" RichTextBox="{Binding ElementName=richTextBox}" Html="{Binding Body, Mode=TwoWay}" /> </telerik:RadRichTextBox.Resources> </telerik:RadRichTextBox> </DataTemplate> </telerik:DataFormDataField.ContentTemplate> </telerik:DataFormDataField>